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,
I have a dataset with around 80 testvalues each day, and I want to plot each of them separately in a line graph to see the development. This I have achieved with a filtering.
In this line graph I also want to show the allowable relative change (both upper and lower, say +/- 5%), from day to day as two other lines. The idea is for me to be able to see when the testvalue changes too much. Therefore I want the relative change line to be shifted so it shows in relation to the datapoint of the previous day. Is there a way to do this?
Something like below, but without the circles and the gridlines.
I have a testID for each testvalue, as well as a field called testdate with the date.
Thank you in advance!
Solved! Go to Solution.
@Anonymous ,
You can use DAX function like
PREVIOUSDAY(<dates>)
https://docs.microsoft.com/en-us/dax/previousday-function-dax
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous ,
In general, you can create an additional measure or calculate column and then drag it to the value field.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you!
I have tried that, but I can't seem to get it to relate to the previous day, only today.
Do you have tips to how I can do this?
@Anonymous ,
You can use DAX function like
PREVIOUSDAY(<dates>)
https://docs.microsoft.com/en-us/dax/previousday-function-dax
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |