Power BI Measure filtering with ONLY date - powerbi

I am working on a power bi report to show the Servers' performance against the Restaurant's performance.
I have two main tables: feedback and server
feedback and server tables have cross filter direction of "both"
I have a chart for the names and their served counts and the user can click the servers and the report should change appropriately.
I have 2 main measures: performance indicator for the restaurant and server
I would like to create a Restaurant Performance measure that is ONLY filtered by the time slicer(Timeline), AND does not drill down when I click the name of the servers. I have the following code but it seems my number is off somehow. Any ideas?
_MEASURE_CSI_TABLETALK = CALCULATE(SUMX(Feedback, [TotalFeedback] * [AverageRating]), ALLEXCEPT(servers, servers[AverageRating])) / CALCULATE(SUM(Feedback[TotalFeedback]), ALLEXCEPT(servers, servers[ServedCount]))

One solution to your problem is to handle the interactions between visuals in Report view.
Click the Edit interactions button in the Format page of the ribbon. Now when you select the chart that has the names of the servers, you can change the way that that chart filters all other visualisations on the same page, for the visual which displays your Restaurant Performance measure, click 'None':

Related

Power BI - Syncing slicers

I would like a monthly report that would update all pages based on a slicer from one page.
On one of the pages I encounter an issue because I only want one of the visuals to be affected of the "master slicer".
Page with "Master Slicers"
Page where I only want the top visual to affected, the second I would like to see all months
Make the synchronized slicer visible on the target page.
Use Format>Edit Interactions to configure the slicer to not filter selected visuals on the target page.
Edit the sync slicer to not be visible on the target page.

Power BI dashboards - displaying filtered data on a button click

I am trying to build a dashboard where there are three tables - Class, Subject, School. Is it possible to display details of the subjects on the click of a class and if we select one of the subjects it should reflect schools that are related to subjects like one shown in the image?
All the visuals you want to have live interaction should be from a single report, and then you can pin that whole report to a dashboard.
Or just use a report page instead of creating a dashboard at all.

Power BI - Filtering a Table based on selection in a Bar Graph

I'm pretty new to Power BI.
I have a number of measures I've created in my Power BI app, data related to information requests that come to my team.
I've put these measures into a Bar Chart. I also have a table that lists details about these data requests. I want to be able to select an item in the Bar Graph and have the records in the Table to adjust to just those related to the selection.
I did this once by accident when i was fiddling around, now I can't figure out how i did it.
I also have a date filter set to affect all of my pages.
Any advice would be awesome.
Thanks in advance.
Jason
Try going to Model (highlighted in the screenshot, left side) and then Manage Relationships (highlighted as well). Then click on Autodetect. If Autodetect does not solve your problem, then you will have to create new relationships manually.

How to determine interactions between filters in different pages?

I have a problem about my filters in power bi. I have 3 different pages and they have all same filters. In my first 2 pages, I want to be able to select "select all" option. For this, from format section and selection controls, I selected "select all". Its fine for my first two pages. But in the 3. page, I have to select just one option, therefore i made it "single selection" from selection controls. But when I made it single selection, first 2 pages are changed too. What can I do about this?
If all of the filters (slicers) are the same, then for the 3rd page you need to turn of sync slicers.
You can view the sync slicer settings by going to View -> Show -> Sync slicers which will open a new right hand side menu, showing you which slicers are set to sync across which pages.
For more information refer to the following article: Slicers in Power BI

How to render report charts after filters are applied in PoweBI

Normally in BI tools, I open a report page, see empty tables, their column names, and empty charts. I select some filters from header place and click on the View button to query report and see the result.
But in PowerBI, when I open a published report page, I see a completely rendered report. If I want to apply a date range, I have to run report again. In this way, my report query runs twice, but I don't want to spend my CPU power on the initial rendered full report with data.
How can I prepare reports and publish in PowerBI, which End users may see an empty page or empty charts? The report must be displayed with data only if the end-user selects the filters and click on any apply button.
Q: How to render report charts after filters are applied in PowerBI?
A: Bookmarks
Yes, even empty reports can easily be done using the feature in Power Bi Desktop. The idea behind a Power Bi's bookmark is that it will remember or preserve your report page visuals in any filtered state.
So, to get the empty report style, set your filters or slicers so that no results are displayed in your report page, then save things as a bookmark. Click Add in the bookmarks pane, and name it to something you will remember.
Then on the main index page for your reports, link to your report using that bookmark to your report with empty results.
Example
Turn on bookmarks by clicking the bookmarks pane checkbox under the view menu:
Note: If you are using a version prior to March 2018, the bookmarks are a preview feature and might not be found in the view menu.
For the following report data:
The below report which displays song data in a table, number of songs in the card on the right and a date slicer below. Note the date range intersects some of the song dates in the data and these are the songs displayed in the reports table and card:
If you then enter in a dates into the slicer (12/31/1970) that do not intersect the dates in the table, this will zero out the report:
Then you go to the bookmarks pane and Click the Add button at the top as Bookmark 1. Right-click and rename to "Blank Song Report".
Now anywhere in your presentation, you can link back to a blank song report using this "Blank Song Report" bookmark. Being able to save reports in a certain state is a powerful feature and you can achieve this through Bookmarks.
re: CPU power
All CPU power spent on Power Bi Reports is on the client side of things. If the reports are run inside of Power Bi Desktop that is in a program on the users computer. If the report is served from Power Bi service or from Power Bi Report Server the users browser will be running and rendering the report via JavaScript. So there is no need to worry about "CPU spend", because it will all be on the client side.