The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Say I have a simple model with a 'Sales' fact table with thousands of rows, and from such fact table I wrote the following measure:
Total sales by customer = SUMX( Sales, Sales[Price] * Sales[Quantity] )
And then I produced the matrix visual below sorted in descending order by total sales amount:
What I need is after setting up a single-value slicer (which I already did via New parameter → Numeric range), dynamically update the matrix so it only shows those customers whose total sales meet the threshold set by the slicer.
Below I graphically show the transition from the original matrix visual (left) to how it should look like (right):
Say I change the threshold amount to $30,000, now the matrix should dynamically change and look like the following:
The highlighting part should be no big of a deal as conditional formatting should take care of that part, but I anticipate challenges to attend the following requirements:
Any help is greatly appreciated. If I can get past the 1st requirement I would already be a happy camper...
Solved! Go to Solution.
You cannot get the exact result you are looking for in the totals of a matrix or table visual. You can get something similar using cards. I have attached a basic example file.
Hope this helps.
Proud to be a Super User! | |
Thanks for your efforts @jgeddes, much appreciated!
This for sure will help me with requirements 3. and 4. provided some compromises and adaptation will be needed to the originally designed solution.
As for requirements 1. and 2. I came across this excelent video by SQL BI's Alberto Ferrari that takes care of them: Filter top 3 products with a row for others using DAX in Power BI - SQLBI.
Thanks!
Hi @leolapa_br ,
Is your problem solved? If so, please mark jgeddes's answer as the solution. If not, you are welcome to continue asking questions.
Best Regards,
Wenbin Zhou
You cannot get the exact result you are looking for in the totals of a matrix or table visual. You can get something similar using cards. I have attached a basic example file.
Hope this helps.
Proud to be a Super User! | |
Thanks for your efforts @jgeddes, much appreciated!
This for sure will help me with requirements 3. and 4. provided some compromises and adaptation will be needed to the originally designed solution.
As for requirements 1. and 2. I came across this excelent video by SQL BI's Alberto Ferrari that takes care of them: Filter top 3 products with a row for others using DAX in Power BI - SQLBI.
Thanks!
User | Count |
---|---|
25 | |
12 | |
8 | |
8 | |
7 |
User | Count |
---|---|
27 | |
12 | |
12 | |
12 | |
6 |