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.
I have defined a new parameter as below.
Solved! Go to Solution.
Hi @jayantatra ,
Here I suggest you to create a measure instead of a calculated column in your data table. Power BI doesn't support us to show dynamic results catched by SELECTEDVALUE() function in calculated column, so it will return blank.
Measure:
M_FG Value =
SWITCH (
TRUE (),
CALCULATE ( MAX ( 'Input data'[key new] ) ) = "Finished goods", 'FG'[FG Value],
1
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jayantatra ,
Here I suggest you to create a measure instead of a calculated column in your data table. Power BI doesn't support us to show dynamic results catched by SELECTEDVALUE() function in calculated column, so it will return blank.
Measure:
M_FG Value =
SWITCH (
TRUE (),
CALCULATE ( MAX ( 'Input data'[key new] ) ) = "Finished goods", 'FG'[FG Value],
1
)
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
One more request pertaining the post, can it be converted to column somehow, as the calculation of totals is not done correctly in measure
.
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 | |
93 | |
75 | |
62 | |
50 |
User | Count |
---|---|
147 | |
107 | |
105 | |
87 | |
61 |