Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I need your help with a measure I have created which calculate a specific rate.
I would like to have a dynamic filter for which If I click (top left) on [0-20], I only have in the tab values below 20%. Same for [20-50]...
I could not group the data due to the fact that I have a DAX measure...
Could you please help me ?
Solved! Go to Solution.
Hi @Anonymous ,
Try to create a measure like below and replace your measure with it in the Matrix visual.
Measure =
SWITCH (
SELECTEDVALUE ( 'YourTable'[Column1] ),
"[0-20]", IF ( [YourMeasure] < 0.2, [YourMeasure] ),
"[20-50]", IF ( [YourMeasure] < 0.5, [YourMeasure] ),
[YourMeasure]
)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi @Anonymous ,
Try to create a measure like below and replace your measure with it in the Matrix visual.
Measure =
SWITCH (
SELECTEDVALUE ( 'YourTable'[Column1] ),
"[0-20]", IF ( [YourMeasure] < 0.2, [YourMeasure] ),
"[20-50]", IF ( [YourMeasure] < 0.5, [YourMeasure] ),
[YourMeasure]
)
Best regards
Icey
If this post helps, then consider Accepting it as the solution to help other members find it faster.
Hi M92240
You can create a custon collum in your table with conditional related a value to yours paramters the filter, like:
custoncolumn = IF(tABLE1[COLUMN]<=20,"A",IF(tABLE1[COLUMN]<=60,"B","C"))
After, you put that collum in the filter.
See you.
User | Count |
---|---|
61 | |
59 | |
56 | |
38 | |
29 |
User | Count |
---|---|
82 | |
62 | |
45 | |
40 | |
39 |