I suspect there is no solution to this but here goes:
I have data in a table as follows:
In my report I have two tables and two slicers (that only work on one table each). So a user selecting 01/09/17 in Slicer A and 03/09/17 in Slicer B gets:
What I want is to show the difference between these two tiles:
It is similar to this problem but the solution here doesn't allow the user make changes using the slicers as the filter is apllied in the query editor:
I'm new to Power BI so any help appreciated.
Go to Solution.
To achieve this requirement, the date column added into two slicers have to come from two unrelated tables. So, in this scenario, you should create two calendar tables:
Calendar Date = CALENDAR(MIN('Test'[Date]),MAX('Test'[Date]))
Calendar Date 2 = CALENDAR(MIN('Test'[Date]),MAX('Test'[Date]))
Then, create three measures like below:
Count1 = CALCULATE(COUNT('Test'[Date]),FILTER('Test','Test'[Date]=MAX('Calendar Date'[Date])))
Count2 = CALCULATE(COUNT('Test'[Date]),FILTER('Test','Test'[Date]=MAX('Calendar Date 2'[Date])))
diff = [Count2]-[Count1]
Add corresponding columns and measures into table visual. Notice that the date in slicer1 comes from 'Calendar Date', while date in slicer2 should come from 'Calendar Date 2'.
Best regards,Yuliana Gu
This worked perfectly and makes complete sense - thanks for your help.
Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
We spoke with Power BI Super User, Greg Deckler, about his charity work
Continue your learning in our online communities.