Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a calculated column that gives my UBD in months (days divided by (365/12) )
Set it that everything below 1 gets 0 and everything above 24 gets 25 (wanted >24 but think to make groups bins that is not convenient).
So looks like this :
Now I want to used this values to get the Aging Bucket from this list :
So 1,xxx goes into "1-3", 10,32 goes into "10-12" etc.
And 0 goes to "0 Expired" and 25 is ">24"
What would be best practise for this?
Solved! Go to Solution.
Hi @rpinxt
Please refer to the linked video about bins:
https://www.youtube.com/watch?v=PjHgi7X3_Bw&t=2s
If my answer was helpful please give me a Kudos and accept as a Solution.
Ah thanks @Ritaf1983 this indeed helped me a lot.
Unfortunately you need to do it in Query editor and I cannot see my calculated column there.
So I deleted my calculated column and made that UBD Mth colunn in the editor first.
Then with the conditional column I was able to make my Aging Bucket "easily".
Just a small reminder that you need to be carefull what you type :
So 13-15 was no problem but if you type 10-12 it will want to convert it to a date.
Not direct but when you finish your column so suddenly you see dates and think....🤔
Then when I went back in I saw the conversion to dates.
Simple fix is for those you type '10-12 so with an apostrophe.
Hi @rpinxt
Please refer to the linked video about bins:
https://www.youtube.com/watch?v=PjHgi7X3_Bw&t=2s
If my answer was helpful please give me a Kudos and accept as a Solution.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
55 | |
55 | |
37 | |
30 |
User | Count |
---|---|
78 | |
64 | |
45 | |
43 | |
40 |