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.
How to write measure for a clusterd bar chart with combination of selection radio buttons from two sliers.
Solved! Go to Solution.
Hi @Nimmi,
I have made a sample to reproduce your scenario.
If I understand your requirement correctly that you want to get the output below.
If it is, you could modify your formula based on my measure.
If I misunderstoond, please share your desired output.
Best Regards,
Cherry
Hi @Nimmi,
Normally, we could use SELECTEDVALUE(TableName[Table value]) to get the selected value in slicer.
More details will help us to understand your scenario better.
Are the values in your two slicers coming from different tables?
If it is convenient, could you share some data sample which could reproduce your scenario and you desired output so that we could help further on it.
Best Regards,
Cherry
Yes the values are coming from different tables for two slicers.
table 1 for select metric : Average million
Total Million
relative diff
number of operations.
Table 2 for selecat breakdown : asset
well
operation type
From the 2 slicers we should select one from mertic and one from breakdown, So total 12 possible combinations will be applicable for chart. how can I write measure for this.
Hi @Nimmi,
Do you want to achieve the output like below?
If it is, please create the measure with the formula below.
Measure =
CALCULATE (
SELECTEDVALUE ( Breakdown[breakdown] ) & " && "
& CALCULATE ( SELECTEDVALUE ( Matirc[metric] ) )
)
If you still need help, please share your desired output so that we could help further on it.
Best Regards,
Cherry
Hi @Nimmi,
Have you solved your problem?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please feel free to ask.
Best Regards,
Cherry
here
Here I have written measure for select metric, I need to add select breakdown options also. It is combination of two slicers.
How can I add select Breakdown options to switch ?
Hi @Nimmi,
I have made a sample to reproduce your scenario.
If I understand your requirement correctly that you want to get the output below.
If it is, you could modify your formula based on my measure.
If I misunderstoond, please share your desired output.
Best Regards,
Cherry
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |