Reset all report visuals on Power BI - powerbi

Hope u doing well!
i'm having trouble using custom themes on a few old power BI reports because the visuals are not standar (some people has edited the colors, shadows, etc.). So anytime I want to set up the custom theme, the old colors, shadows, etc are still there!
Is there a way to reset ALL the visuals to the default format? Maybe with a .json lines on the custom theme file...
Thank you in advance!

Related

How to turn off the icons in a SharePoint standard List?

I found nothing about this icons. How can I hide it? Is it possible?
Unfortunately, it is not possible to hide the icons on modern experience list forms using SharePoint out of the box capabilities.
These icons are specific to column type you are using in your list.
Example: Single line of text, Choice, Number, etc.
The icon you highlighted is related to the Yes/No column in SharePoint:
You can hide those by customizing the list for using Power Apps: Customize a Microsoft Lists or SharePoint form by using Power Apps
But, I don't think it is worth to do it using Power Apps just to hide the icon which is SharePoint default functionality.

Power BI embedded report appears distorted and doesn't apply custom theme

We have embedded a Power BI report in react app. The report uses custom theme. The report looks perfectly fine on Power BI online service. However, few visuals appear distorted, misaligned, change colors, fonts etc. in embedded version. As these visuals appear green in color, my guess is that the visuals are defaulting to classic theme.
Following is the error from dev tools
Now, Power BI embedded analytics have the ability to embed report with a custom theme applied.
One can set custom theme in PBI desktop and embed the report in your app and report gets embedded with custom theme applied.
One can set custom theme to report on report load. When passing embedConfig at the time of embed, you can set the theme inside the embedConfig and then pass the embedConfig. Report gets loaded with custom theme applied.
Using API applyTheme one can set custom theme to a report at runtime
// Create a theme.
const theme = {
"name": "Sample Theme",
"dataColors": ["#990011", "#cc1144", "#ee7799", "#eebbcc", "#cc4477", "#cc5555", "#882222", "#A30E33"],
"background": "#FFFFFF",
"foreground": "#007799",
"tableAccent": "#990011"
};
// Update the theme by passing in the custom theme.
// Some theme properties might not be applied if your report has custom colors set.
try {
await report.applyTheme({ themeJson: theme });
console.log("Custom theme applied, to remove custom theme, reload the report using 'Reload' API.");
}
catch (error) {
console.log(error);
}
Refereneces:
https://learn.microsoft.com/javascript/api/overview/powerbi/apply-report-themes
https://learn.microsoft.com/power-bi/create-reports/desktop-report-themes#situations-when-report-theme-colors-wont-stick-to-your-reports

how to change the location of a datasource in Power BI (Desktop)

I have built a power bi desktop dashboard
it was for myself only so i put the datasource (.mdb) in my desktop
Now other employees want this dashboard.
but the problem that powerbi cannot find the source as it is pointing at my desktop ( even if other put the source file in their desktop, still cannot find it)
i think it looks at "c:\users(my name)\desktop
I want to change the data source location so it points at c:\data so everyone can create this folder in their computers
How to do that?
Create a parameter for where you want to look for the file.
You can then edit your query to use the parameter.
Once done you will be able to edit the parameter from the main interface. Users can be shown how to set their own path.

Published Report behaves differently than Power BI Desktop

I have the below tab in a report that contains 5 visualizations and a table. Filtering between them works just fine in Desktop.
After publishing the report to the Power BI service, it looks like this. Refreshing has no effect.
I have tried duplicating the tab and also re-created it completly and the same occurs.
Any suggestions to resolve this is appreciated. BTY, all the other tabs in the report work perfectly after publishing. It is just this one that is problematic.
Thanks in advance.
I discovered the cause and it may be a bug.
The visualizations on the tab rely on a filtered field name MailboxExistsFlag, which is either true or false. In Desktop, the filters look like this:
When the pbix file is published, the same filters translate to this, which is different:
To resolve, I edited each filter in the online version and selected "-1" in lieu of TRUE. After doing so, all the visualizations work as they should. I expect I will have to do this to the page if I make changes to the report and publish again.
Why TRUE/FALSE becomes -1/0 in online escapes me, but beware if you have reports that have such columns.

I am facing difficulties to set parameters in power BI reports and in dashboards also

Currently, I'm using the Power BI Designer (newest version). I'm completely new to it. I'm wondering how to set a parameters in reports and dashboards.So please help me..
Open your report in Power BI desktop application, then go to tab:“Manage Parameters” dialog in the Query Editor window.
and into that dialog you can create new parameters and specify metadata and settings for new parameter:
After defining one or more parameters and clicking OK in the “Manage Parameters” dialog, users will get back to the Query Editor dialog and will see a new query defined for each parameter. Then, that parameter can be referenced from appropriate query.
Right now, reports support filters that you can set in the filters pane. Dashboards do not support filtering. Supporting more traditional parameters is something we're looking at. Suggest you create an idea on support.powerbi.com so we can keep you updated.