Quantcast
Channel: Service topics
Viewing all 62232 articles
Browse latest View live

i dont see how the api can scan for strings in report names etc

$
0
0

hi i made some progress at https://community.fabric.microsoft.com/t5/Service/where-are-the-rest-api-commands-being-run-from/m-p/3936883#M233377  on overcoming limitations in the service when it comes to scanning workspaces for strings.    but my effort  seems to have dead ended so i marked one poster's remarks as the solution there and have come here to ask the obvious.   How does this gui lend itself to scanning ws's for a string in report names, dashboards, headings, labels etc where the string is one of our machines named CutRight (i made that name up for proprietary reasons) ?    am i back at square one?

 

apipbiimage.png

 

 


Fabric: writing table to existing table in lakehouse ended with MashupException.Error

$
0
0

Hello!

Short description:

I have two tables (format: delta) in my lakehouse in fabric. Both have the same sctucture - columns, types etc.

The first table (employeesTable) contains data from a certain api downloaded for a specific day, and in the second table (employeesTableUpdated) I have new and updated data from the same api (from the last few days).

What I want to achieve is updating first table with the second one. To do that I use dataflow, where I first merge both tables (left anti type of join) and then I append both tables to have new one.

Krystian514W_3-1716389282939.png

Krystian514W_1-1716388296414.png

Problem:

I have problem with writing that new table to lakehouse. I set 'data destination' to existing table (employeesTable - to replace all data with updated version) but every refresh of dataflow is ending with error:
Merge_WriteToDataDestination: Mashup Exception Error Couldn't refresh the entity because of an issue with the mashup document MashupException.Error: We're sorry, an error occurred during evaluation.
Krystian514W_2-1716388838300.png
Can you help me with that? Maybe I use that function wrong, maybe there is another way to do that. Thank you in advance for any help.

Krystian

Dataflow Incremental Refresh Settings - "Choose a DateTime" Drop down duplicating fields

$
0
0

Hi,

 

Can anyone explain why the "Choose a DateTime column to filter by" dropdown duplicates the fields?

 

Dataflow.png

Power BI Dataflows and a fluid amount of columns

$
0
0

I have a report I am trying to put together that is taking a source of data from SQL and transposing it. The problem I am having is that the dataflow is expecting a certain number of columns to be present, but this report will vary it might be 300 columns one month and 200 the next and 500 the month after that.

 

How can I write a mscript to be flexiable in this manner?

 

Here is my script, all the explicitly named columns are guaranteed to 

let
  Source = Sql.Database("redacted", "redacted", [Query = "redacted"]),
  #"Sorted rows" = Table.Sort(Source, {{"ValueColumn", Order.Ascending}}),
  #"Filtered Rows" = Table.SelectRows(#"Sorted rows", each [Record_Type] <> "Org Owned"),
  #"Removed Columns" = Table.RemoveColumns(#"Filtered Rows", {"EMPLOYEE", "ADDDATE"}),
  #"Transposed Table" = Table.Transpose(#"Removed Columns"),
  #"Filtered Rows2" = Table.SelectRows(#"Transposed Table", each [Column1] <> 1),
  #"Capitalized Each Word" = Table.TransformColumns(#"Filtered Rows2",{{"Column4", Text.Proper, typetext}}),
  #"Added Conditional Column" = Table.AddColumn(#"Capitalized Each Word", "Custom", eachif [Column4] = "Cif_Key"then"System Information About Owner"elseif [Column4] = "Orig_Person"then"System Information About Account"elsenull),
  #"Added Conditional Column1" = Table.AddColumn(#"Added Conditional Column", "Custom.1", eachif [Column4] = "~ZZZ~"then""elsenull),
  #"Appended query" = Table.Combine({#"Added Conditional Column1", Query2}),
  #"Duplicated Column" = Table.DuplicateColumn(#"Appended query", "Custom.1", "Custom - Copy"),
  #"Added Index" = Table.AddIndexColumn(#"Duplicated Column", "Index", 0, 1, Int64.Type),
  #"Filled Down" = Table.FillDown(#"Added Index", {"Custom - Copy"}),
  #"Reordered columns" = Table.ReorderColumns(#"Filled Down", {"Custom", "Custom.1", "Column1", "Column2"}),
  #"Removed columns 1" = Table.RemoveColumns(#"Reordered columns", {"Column3"}),
  LSTHeaders = Table.ColumnNames(#"Removed columns 1"),
  HowMany = List.Count(LSTHeaders),
  Transformation = Table.TransformColumnTypes(#"Removed columns 1", Table.ToRows(Table.FromColumns({LSTHeaders, List.Repeat({typetext}, HowMany )}))),
  #"Removed errors" = Table.RemoveRowsWithErrors(Transformation)
in
  #"Removed errors"
 
For testing purposes, I intentionally inflated the number of records for the configuration of the dataflow, then when I remove the padded data I get an error about a column name not being in the dataset.
 
Error: Expression.Error: The column 'Column2819' of the table wasn't found. <ccon>Column2819</ccon>.
 
the mscipt doesn't explicity call out that column, is it being stored in-memory via the dynamic column type transformation? If I don't have that step power bi adds a transformation to all the columns shown.

Fabric F2 Capacity wanting me to Upgrade to Trial Capacity

$
0
0

Hi All,

 

I have been using Power BI for a while but am very new to Fabric and some of the "IT admin" elements that come with this. I work in a Finance department so am pretty good with IT but by no means an expert.

 

As a buisness we wanted to leverage some of the new features that Fabric offers eg notebooks, Dataflows, Lakehouses etc, we are a relatively small buisness so want to minimise cost where we can. I was under the impression I would be able to setup an F2 capcacity at relatively low cost and then use some of these new capabilites.

 

I created an Azure account and managed to setup an F2 capacity, I have then allocated this to a test workspace in Fabric/PowerBI so that I can test out the functionality. In the workspace that I created when I try and create any of the new fabric items it brings up the below message saying I need to upgrade?

 

Is my understanding inccorrect and I cannot create these items with the F2 capacity? Or have I got some settings inccorrect?

 

Many Thanks

 

AW_1989_0-1716391746954.png

 

Duplicate Power BI Dataflow Gen2

$
0
0

I have setup a Dataflow Gen2 to allow for import of some API data into my DataWarehouse.  The dataflow imports data for a specific account. I would like to setup the same dataflow for other accounts.  

 

In Power BI dataflows Gen1 you could export and import the json to create a copy of the dataflow but I cannot find similar functionality in Dataflows Gen2

Trying to refresh dataset after workspace migration to non-PPU Environment

$
0
0

We had to migrate all of our workspaces from a PPU environment to a non-PPU environment. With this change, we are receiving a "This operation isn't allowed, as the database 'database name' is in a blocked state." for all of our power bi reports and datamarts. Based on the information here (Power BI Premium Per User - Power BI | Microsoft Learn), it says you need to refresh the dataset to fix the error.

 

I have tried to refresh the dataset through the power bi project file but source control fails on trying to update the semantic model in the workspace after merging my local branch into our development branch linked to the workspace. I receive the below error when trying to update the semantic model through source control.

MeganBig_1-1716398009288.png

I have tried to update the dataset through SSMS (How to refresh a single table in Power BI using SSMS | by Dhyanendra Singh Rathore | MediumRefresh Tables and Partitions in Power BI Using SSMS | by Yuki Kakegawa | Medium) but I receive the same database is in a blocked state error.

 

Any ideas on how to solve this without disconnecting the workspace from source control? I will need to find a solution for power bi reports as well as datamarts. 

 

Edit:

  • I tried to save a new power bi project and pull that commit down into the branch through source control and that worked fine. Everything loaded as expected.
  • I can create a new workspace linked to my development branch and the report works. Even switching back and forth between PPU and Embedded licenses doesn't break the report. I believe the creation of the new workspace does the refresh to the semantic model that is needed to fix the error.

Scheduled refresh failed: Data source (Excel in Teams sharepoint) error

$
0
0

Dear Power BI users,

Please your kind help with the following issue.
Since yesterday, the scheduled refresh started to fail and the error I got is the one below...

Data source error: {"error":{"code":"DMTS_OAuthTokenRefreshFailedError","pbi.error":{"code":"DMTS_OAuthTokenRefreshFailedError","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '00000003-0000-0ff1-ce00-000000000000'. Trace ID: b3193767-1efc-4ab1-b9ee-2bab636f1800 Correlation ID: f846effb-9940-4cda-945a-54bcca496757 Timestamp: 2024-05-22 14:07:20Z"}}],"exceptionCulprit":1}}} Table: Subgroup count.
Cluster URI: WABI-WEST-EUROPE-redirect.analysis.windows.net

As far as I know, anyone has changed anything in the Teams sharepoint or in the scheduled refresh settings in the service, but the error juts started to happen.

 

Gateway configuration.

SantiNarv_0-1716399335313.png

Any suggestion about how to solve this error is appreciated!

 


Authentication Error in PowerBI Service MySql server

$
0
0

Hello Comunity,

 

I have created a dashboard that connects with a MySQL server, the connection and the credentials work as supposed to when working in PowerBI Desktop, however when uploading said dashboard I get this error: 

 

Captura de pantalla 2024-05-22 113756.png

When I try to update the credential in the "Manage connections and gateways" view, I also get the same error: 

Captura de pantalla 2024-05-22 114211.png

I have checked the credentials multiple times and they work fine in the PowerBI Desktop app.

 

I am using MySQL Connector 8.2.0 as it is the only one that works for the Desktop Version 

 

Can someone please help? Is it a PowerBI Service issue or a MySQL server issue?

 

Thank you!

Why Service principal create multiple session

$
0
0

Hello All,

Why Service principal creates multiple session query on power bi workspace. My reports are emedded and when users are try to access report using service principal then it creates multiple session query which causing workspace utlization problem.

Thanks

can users adjust table column widths and will they be saved

$
0
0

Hello,

I have a published Power BI Report in service.

One of the numbers is too large and wraps in the table totals.

 

If the user increases the width of the column, will the change persist or do I need to update the pbix file?

 

Thank You,

 

Michael

unable to load pbix from local to the power bi service

$
0
0

Users are unable to load a .pbix from local to the power bi service. Both Pro and PPU licenses in play. Seeing this issue across all workpaces (Fabric enabled and non-fabric enabled).

 

The error thrown when attempting to load from desktop says "Couldn't Publish to Power BI - Sorry, you don't have access to publish to this workspace. Please contact the owner for access."

 

The error thrown when attempting to load from service just says "Something went wrong; Please try again later"

 

I am the Fabric admin in my organization.. Even with admin rights I am unable to publish. For what it's worth, both powerbi.com and fabric.microsoft.com are whitelisted, so doubt it's a firewall issue.

 

Could there be some powerbi/fabric/workspace setting I might be missing?

Visuals for AND/OR searches

$
0
0

Hello, 

I have been struggling to even determine if this is feasible, there is not a lot of material on non-finanical BI visuals. Sorry for the poor wording and please let me know ANY thoughts! 

 

I am creating a Medical history dashboard and I am trying to figure out a way to search by text for multiple conditions using AND / OR logic. 

As of right now, I use the standard text filter and search something like "scoliosis" to identify values from my data that are essentially wildcard "scoiosis". If I use a second text and type "Asthma" I get a sort of wildcard search for any value that has "scoliosis" and "asthma" in the same row. 

My data set is several hundred thousand rows of data and I am looking for a way to search by text for rows by wildcard values. So that if I search "scoliosis" and "asthma" it will look to different lines respectively, and not in the same line. I would like this to be built out to be able to use AND OR logic. IE, search for a patient who has had either condition or specifically both. 

 

Thank you. 

Programatically Renaming Datasets

$
0
0

I have a requirement where I need to take a CSV report that is created via Scheduled Task on a Windows Server and write the rows to a PowerBI dataset daily.  Once I have moved the data to a PowerBi dataset the PowerBI devs take over.  This report is run Monday through Friday, and I need to retain 30 days.

 

I have a PowerShell script written where I can create the dataset daily and move the data in to the dataset.  My script names the dataset as "Report_MM-DD-YYYY".  The requirements changed while I was working on it, so now I need to find a way to rename daily the datasets consistently, where today's report is always named "Report_1" and the oldest is always "Report_30".  Is there any way to rename datasets programtically?  I have everything working in PowerShell except the actual renaming of the datasets, I can query and delete the oldest etc.  I'm just stuck on the renaming to keep the datasets consistent to the reports they are linked to.

 

I'm more of a SysAdmin helping the PowerBI team.  PowerShell is the only approved method I can use fro mthese server to write to a PowerBI dataset.  I can't give the PowerBI team access to the server generating the report, so I have to push it out.

 

Any ideas?

 

Power BI Admin portal interface blank!

$
0
0

Hi,

 

my admin portal interface is empty today!

I tried another computer and browser, same result.

 

Jerome22_0-1716411996914.png

 

any idea? temporary problem?

thanks.

 


Best approach to create dataset for multiple teams

$
0
0

Hi Community,

 

We are a 'Data 'team and we have another 'Report Development' team.

'Data' team works on Power BI and is responsible to provide data to different

 teams in our organization.

 

For the reporting team, they need to develop a PBI dashboard and have provided

their data requirements to our 'Data' team. The 'Reporting' team wants to be independent

in accessing, and modifying the dataset required for their dashboard.

 

Just wondering what could be the possible ways/techniques to create a dataset for the

Reporting team. And among all the possibilities, what could be the best approach and why?

 

Thanks in advance!!

Deploy a pipeline with a report with Fields parameter

$
0
0

Hi, I've looking all over the Internet and I just can't find a solution for my problem. 

I made my report on Power BI Desktop and I use Fields Parameters to filter a matrix on some of my pages. Then I use this report to deploy a pipeline, and it seems all right but in the production stage I got an error saying that "couldn't load the data for the visual" and it mentioned the table I created in the fields parameters. Is there a problem using these two features together or what can I do to solve this problem? 

Error 1.png

Web Version Shifting Visual Alignment

$
0
0

Hello,

 

I am running into an issue when publishing my report to the web, specifically with the new card visual. In the desktop version, my reference label titles are directly centered over the value metric. However, when I publish to the web the reference label headers seem to shift left justified. Again, it looks perfectly centered in the desktop version. I tried digging around the card specs and couldn't find any sort of horizontal alignment setting. See Screenshot:

 

Power BI Format Shift Example.jpg

 

Was there a new update recently that would cause this? This was not a issue when publishing this report a week ago

Dataflow Random Refresh Failure

$
0
0

I created a Dataflow, which calls my Azure Function about 300 times. The Azure Function is perfect, it never errors. The Dataflow is perfect, the dataflow in the designer correctly loads my data 100% of the time. But I can't get the Dataflow to successfully refresh very often. May be only 10% of the time will it complete a refresh. Sometimes it fails after 14 seconds. Sometimes it fails after 3 minutes, and every possible time in between. The error Power BI tells me is an "Internal Server Error" in my Azure Function. However, this is not true. There are no errors in my Azure Function. I can only assume it's some jank reason that there is some rate limit, too many calls in too shorter period. Not that 300 calls in 3-4 minutes period is that high and should cause any problems for Azure or Power BI, afaik.

 

I don't have any idea on what the 'real' cause of the issue is or how to find out what the real error is. The dataflow doesn't seem to have a scaling option to run one query at a time like a Semantic Model. That throttling may've helped. I also tried a Fail-Wait-Retry algorithm on the Dataflows "Web.Contents". But Microsoft came up with some reason why such a Dataflow cannot be saved, apparently it's too dynamic for their liking. I've also added a 5 second delay after every Web.Contents to slow the Dataflow down, which has mixed results.

 

May be there's a way I can get around this "One or more tables references a dynamic data source" and actually use a Fail-Wait-Retry algorithm on the Dataflows "Web.Contents"? Or any other ideas or suggestions would be appreciated.

Missing button to to assign access

$
0
0

Hi. i noticed not to long ago that im missing the button to assign people to the workspace. Did it get moved somewhere?  Anytime i would go to the workspace there would be an access button where you could assign users rights for read/wite

Viewing all 62232 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>