Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello all,
I have 2 measures:
1. DSO
2. DSO Allocated
Is it possible to create a formula where:
if I set the slicer to choose a particular client group e.g. A, the chart will display value from 'DSO Allocated' measure.
But if I set the slicer to 'Select all', that same chart will display value from 'DSO' measure.
Please refer picture
Regards,
Sya
Hello
Create a new measure to put in your visual
Measure
var selectcltgroup=selectedvalue(Client Group)
if(selectcltgroup="A",DSO Allocated','DSO')
Hi @Anonymous , thank you for your answer. But what if there are hundreds of client groups? Is there a shorter way to list down all the groups?
Sya, The best way to do if you have hundreds of clients group would be to create a tble with client group and dso allocated and search the value in a measure to return but it will be long....
@sya , Check if field parameters can help
That is an awesome article! However i think it does not work with my case
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
97 | |
75 | |
71 | |
64 |
User | Count |
---|---|
143 | |
109 | |
103 | |
82 | |
74 |