Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I would like to use multiple card visulations using the same field as a filter but for each card control to display different counts based on the filter and I'm struggling to work out how to do it. The below is an example of what I would like it to look like. Any assistance greatly appreciated!
Solved! Go to Solution.
Hi @sjm21 ,
For PowerBI, the value in a filter can only be displayed in a card visual. If you want to achieve the results you want, my suggestion is to create multiple slicers, use the edit interactions function, and specify the card visual corresponding to different slicers. The reference is as follows:
M_filter =
var a = SELECTEDVALUE('Table'[Filter])
return
CALCULATE(MAX('Table'[Value]),'Table'[Filter]=a)
just like below:
For more details, you can read related document:
Power BI - Edit Interactions features - Power BI Docs
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @sjm21 ,
For PowerBI, the value in a filter can only be displayed in a card visual. If you want to achieve the results you want, my suggestion is to create multiple slicers, use the edit interactions function, and specify the card visual corresponding to different slicers. The reference is as follows:
M_filter =
var a = SELECTEDVALUE('Table'[Filter])
return
CALCULATE(MAX('Table'[Value]),'Table'[Filter]=a)
just like below:
For more details, you can read related document:
Power BI - Edit Interactions features - Power BI Docs
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @sjm21 ,
where exactly are you struggling?
You create a dimensional table on which you slice and this you connect to the fact table(s). This visuals you can use from the fact table and the slicer you use from the dimensional table.
User | Count |
---|---|
128 | |
109 | |
100 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |