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
I have a single-value slicer with 2 options: Kilograms or Units
And I want that, depending on this value marked in the segmenter, 3 measures are shown in a graph respectively that are in the same table of the model:
- If I select Kilograms: Sales Forecasts in Kg, Actual Sales in Kg, and % Difference
- If I select Units: Sales Forecasts in Units, Actual Sales in Units, and % Difference
How can I control which measures should be displayed in the chart based on the value selected in the segmenter?
Thank you
Solved! Go to Solution.
This can be done in a number of ways, for example, using parameter filters or calculation groups, but it depends on how you have your model and formulas.
The solution I presented would have to put this logic into your 3 measurements.
Like I said, if you could share some images of how you have your data models and your formulas, it might be more effective to help you.
This @सेनिबेनी,
I would use this type of formula in each of the formulas you want to display:
IF ( SELECTEDVALUE (columna donde está la opción Kg / Unidad) = "Kilogramo", [su medida en Kg], [su medida en unidades] )
If you can share more information or send a file I can try to help more effectively
This @_आंद्रादे,
First of all, thank you very much for your quick response.
With the formula you have indicated I can only show one measure in the IF when "Kilogroamo" is selected, but I need to show 3 different measurements.
How could I display the 3 measurements in Kg when you select "Kilogram" and if you select Units the other 3 respective measurements in units?
Thanks a lot!
You're welcome.
This can be done in a number of ways, for example, using parameter filters or calculation groups, but it depends on how you have your model and formulas.
The solution I presented would have to put this logic into your 3 measurements.
Like I said, if you could share some images of how you have your data models and your formulas, it might be more effective to help you.
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 |
---|---|
106 | |
105 | |
86 | |
73 | |
66 |
User | Count |
---|---|
124 | |
113 | |
98 | |
81 | |
72 |