Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I have a problem in ffiltering measure in Power BI. Can anyone help me with this? Thanks in advance!!!
Here is the case:
I have 2 measures that calculates count of the selected Providers from 2 different slicers which gives '1' for the selected providers. Here is the measure -
So I added a table visual like below and filtered the table for the CombineData= 0. My issue is when I remove the diemension from the table, the Visits sum is showing the sum of all dimension values instead of sum of values for the filtered countprovidercategory.
In te table below, the total visits value is 158. But when I remove the dimension from the table, the sum is the sum of all dimension values which is not right. I want 158 only to be shown there even after removing the Dimension from the table visual.
Table Visual while adding Dimension to the table and after removing it from the table:
category | CountProviderCategory | CountComparisonCategory | Sum of TotalVisits | Dimension |
Comparison | 1 | 89 | Val1 | |
Provider | 1 | 28 | Val2 | |
Provider | 1 | 26 | Val3 | |
Provider | 1 | 15 | Val4 | |
Provider | 1 | 11 | Val5 |
category | CountProviderCategory | CountComparisonCategory | Sum of TotalVisits |
Comparison | 1 | 106761 | |
Provider | 4 | 35587 |
Please provide the pbix file with sample data.
Need Power BI consultation, hire me on UpWork .
If the post helps please give a thumbs up
If it solves your issue, please accept it as the solution to help the other members find it more quickly.
Tharun
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
9 | |
6 |