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.
Hi all,
I need help for really easy situation.
I have a score card. I want to create if case it works with a value which come from filter. The filter should has just 2 parameter. Like "1" and "2". I want to make 2 different calculation in if case.
I want to create a calculation like that
if a selected value from filter is 1 then
= AppendTable2[ValueDiv]
if a selected value from filter is 2 then
= AppendTable2[ValueMor]
I couldn't find how can i create a filter like that.
Solved! Go to Solution.
@Anonymous,
I make a test in the following sample data.
I add a new parameter as below, and create a measure in appendtable2.
Measure = var selected=SELECTEDVALUE(Parameter[Parameter]) return IF(selected=1,SUM(AppendTable2[ValueDiv]),SUM(AppendTable2[ValueMor]))
If the above dax don't help, please share sample data of your table here.
Regards,
Lydia
@Anonymous,
I make a test in the following sample data.
I add a new parameter as below, and create a measure in appendtable2.
Measure = var selected=SELECTEDVALUE(Parameter[Parameter]) return IF(selected=1,SUM(AppendTable2[ValueDiv]),SUM(AppendTable2[ValueMor]))
If the above dax don't help, please share sample data of your table here.
Regards,
Lydia
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 |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |