Forum Discussion
ArslanManzoor
5 years agoFrequent Visitor
3 month rolling data visual
Hello! Please can someone help with a problem I am having with Power BI. I have 2 tables below (data sources), the first table is showing the time taken to do tasks A and B over a few months, thi...
- 5 years ago
Hi, ArslanManzoor
Please check the below steps.
Write a measure something like below.
Conditional Format measure =SWITCH (TRUE (),[Time Taken Avg for Visualization]> 1.05 * SELECTEDVALUE ( Target[Target] ), 1,[Time Taken Avg for Visualization]<= 1.05 * SELECTEDVALUE ( Target[Target] )&& [Time Taken Avg for Visualization]>= 0.95 * SELECTEDVALUE ( Target[Target] ), 2,[Time Taken Avg for Visualization]< 0.95 * SELECTEDVALUE ( Target[Target] ), 3)Setup like below.Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
amitchandak
5 years agoSuper User
ArslanManzoor , Create a common task table. and a date table, use task from the common table
Rolling 3 before 1 = CALCULATE(sum(Table[Time taken]),DATESINPERIOD('Date'[Date ],eomonth(MAX('Date'[Date]),-1),-3,MONTH))
target = sum(Target[Target])