Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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
.
User | Count |
---|---|
86 | |
82 | |
68 | |
66 | |
55 |
User | Count |
---|---|
123 | |
100 | |
90 | |
83 | |
66 |