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 need some help with a measure, it has to be conditional depending on a filter selected
There are 4 elements: Copper, Zinc, Arsenic and Silver. (used as a PAGE filter, unique selection)
Measure is this:
Solved! Go to Solution.
Hi,
Chemical_composition_efect =
VAR selected = SELECTEDVALUE(Element[Name])
VAR divisor = IF(selected = "Zinc" || selected = "Silver", 100000, 100)
RETURN
(([Composition2023]-[Composition 2022])/divisor)*[Feed2023]*([Recovery2022]/100)
where Element[Name] is your slicer, please change for your names 🙂
Thank you so much, it worked !! thanks a lot 😄
Hi,
Chemical_composition_efect =
VAR selected = SELECTEDVALUE(Element[Name])
VAR divisor = IF(selected = "Zinc" || selected = "Silver", 100000, 100)
RETURN
(([Composition2023]-[Composition 2022])/divisor)*[Feed2023]*([Recovery2022]/100)
where Element[Name] is your slicer, please change for your names 🙂
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 |
---|---|
112 | |
100 | |
76 | |
74 | |
49 |
User | Count |
---|---|
146 | |
108 | |
106 | |
90 | |
62 |