Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello everybody! I created a dax measure to calculate how much customers spent in different fiscal years and another dax measure to rank these customers based on their spending. I would like to use slicer (picture below)
so that in a table, for example, it only shows customers classified as "K", "A", "B" or "C". But this visual does not accept DAX measures.
Below is my measure that makes the classification of customers:
Solved! Go to Solution.
Hi, @gelsonwirtijr
You can try the following methods.
Create a new slicer table:
Measure = IF(SELECTEDVALUE(Slicer[Slicer])=BLANK(),1,IF(SELECTEDVALUE(Slicer[Slicer])=[Classificação Cliente Peças],1,0))
You can filter the views by this method.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @gelsonwirtijr
You can try the following methods.
Create a new slicer table:
Measure = IF(SELECTEDVALUE(Slicer[Slicer])=BLANK(),1,IF(SELECTEDVALUE(Slicer[Slicer])=[Classificação Cliente Peças],1,0))
You can filter the views by this method.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @v-zhangti, I have a similar problem. The strategy worked to visualize the data in a table, but it doesn't work on a card, as it is not possible to put "Filtros_Peças is 1 ". Can you help me?
Hello @v-zhangti , thanks for the help! I don't know why, but he's not behaving the same way he did with you.
I created a table with the classes and followed the same steps.
The problem was REPT(), it worked, thank you!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
78 | |
41 | |
40 | |
35 |