Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
So, this problem involves 3 tables. A master data table let's call it customer table. A category table, that related a customer number to a category. Finally i have a fact table holding transactions.
I wan't to create a visualization that shows summed amount for each customer and i also want to see how much that amount corresponds in relation to the entire category.
Below i have tried to create a demo of what i would want end users to see.
The problem is i don't know how to make the measure to right "Total Category Amount" ignore every filter on this table. Remember that the link between the table that holds the category is via the customer number. The customer master data is then linked to the fact table with the measures. It seems that power bi is troubled when i want to remove the customer number filter from the measure.
Here is also a very simplified version of the data model
Please help and tell me if you need more clarification.
Solved! Go to Solution.
Hi,
If I get well your issue, you are looking for the ALL function.
Using ALL( [CustomerKey] ) in your CALCULATE will remove the filter based on Customer key.
Depending on your visual but according to your screenshot it might be :
ALL( [CustomerKey], [CustomerName] )
Hope it helps, let us know
Hi,
If I get well your issue, you are looking for the ALL function.
Using ALL( [CustomerKey] ) in your CALCULATE will remove the filter based on Customer key.
Depending on your visual but according to your screenshot it might be :
ALL( [CustomerKey], [CustomerName] )
Hope it helps, let us know
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
30 | |
16 | |
14 | |
14 | |
9 |