Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I need to replicate COL B in PowerBI, it should dynamically change the value based on date selection.
For example: if I select date 02/01/2021, it should change to that date and make default value of 100 against that date.
I have tried using MIN, max date and If condition but it's not working.
Solved! Go to Solution.
Hi, @mohanpal
You can try the following methods.
Measure:
COL B =
IFERROR (
100 * SELECTEDVALUE ( 'Table'[Date] )
/ CALCULATE ( MIN ( 'Table'[Date] ), ALL ( 'Table' ) ),
BLANK ()
)
You can select output values by date. Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @mohanpal
You can try the following methods.
Measure:
COL B =
IFERROR (
100 * SELECTEDVALUE ( 'Table'[Date] )
/ CALCULATE ( MIN ( 'Table'[Date] ), ALL ( 'Table' ) ),
BLANK ()
)
You can select output values by date. Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@mohanpal Try using a measure, the calculated column will run once when you open the report.
If you need help in writing the measure just reply.
Use the selectedvalue function in measure to achieve the same.
If this post helps, then please consider accepting it as the solution to help the other members find it more quickly.
Thanks and Regards,
Atma.
User | Count |
---|---|
57 | |
22 | |
21 | |
19 | |
16 |
User | Count |
---|---|
87 | |
87 | |
52 | |
37 | |
23 |