The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I am new to PowerBI and DAX. I am trying to create an aging report for open IT tickets.
My table contains the number of days that the ticket has been open, but I need to return a value (see status message below) based on the number of days that the ticket has been open.
I was able to do this in EXCEL using this formula =VLOOKUP(IF(TODAY()>'IS SR - Dec Data List All'!$J2,TODAY()-'IS SR - Dec Data List All'!$J2,0),Age_Range1,2,TRUE) where J2 is the ticket entry date
Age_Range1 has the following:
Range | Status Message |
0 | <= 1 Day |
1 | 1-30 days |
31 | 31-60 days |
61 | 61-90 days |
91 | 91-180 days |
181 | 181-360 days |
361 | >360 days |
How do I do this in PowerBI?
Thanks for your help 🙂
Solved! Go to Solution.
Take a look at the link below
This should get you what you want
http://www.daxpatterns.com/static-segmentation/
Take a look at the link below
This should get you what you want
http://www.daxpatterns.com/static-segmentation/
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
79 | |
71 | |
48 | |
41 |
User | Count |
---|---|
138 | |
108 | |
71 | |
64 | |
58 |