Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
So i have this table. that calculate the Reg Date and labelling them by "Yr 1 till >Yr 10"
So how is this supposed to work is in excel:
i have the "Reg Date" filtering from JAN 2019 - till the current of the month of 2019 then getting the Nov-Dec 2018 So that will be labelling as "Yr 1"
then for Yr 2 would be from JAN 2018 till current of the month (oct) 2018 and getting the Nov-Dec 2017 data that would be labelling as "Yr 2"
For Yr 3 its like this:
and so on till Yr 10 .
WHILE, the rest of the data it would be all in “>Yr 10”
Hi @Anonymous
Please see the attached file with the solution.
I've used the below article to create Relative Date Dimension table in the Query Editor and later added an extra DAX column "Column" to Relative Date Dimension table, with the logic that meets your requirement.
https://community.powerbi.com/t5/Community-Blog/Relative-Date-Dimension/ba-p/779039
Hi @Mariusz
Thank you so much for your reply, do you mind to do a power bi sample based on the excel sample (link) that I provide?
I would appreciate it so much!