Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a list of events. Once a week, I backup the list and I merge all previous backups in the same list.
I end up with a master list that contains the entire list of events including previous backups.
I'd like to compare the latest backup with the previous backup and see:
Is it possible to create a calculated column using DAX to achieve the result? A measure could potentially work but I can't use the measure in slicers or filters.
Solved! Go to Solution.
Hi, @WorkHard
Thank you for your feedback.
Please check the below measure that is for creating a column.
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
Hi, @WorkHard
I tried to create a sample pbix file based on your explanation.
Please check the below picture and the sample pbix file's link down below, whether it suits your case.
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
Thanks @Jihwan_Kim ,
What would it take to turn this into a calculated column?
I'm trying to use this measure as a chart legend but because it's a measure I can't add it to the legend or a slicer.
Hi, @WorkHard
Thank you for your feedback.
Please check the below measure that is for creating a column.
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
Ah. That's simple.
I see one more issue. I just want to compare the results from this week vs last week.
So I added currentweeknumber-1:
VAR previousevent =
CALCULATETABLE (
values( Events[EventID] ),
FILTER ( ALL ( Events ), WEEKNUM(Events[Date]) = currentweeknumber-1 )
)
But, for some reason. Event 62 from April 13 and Event 63 from April 14 still show up as "Previous Only" when they are actually more than 2 weeks ago.
Any reason why they show up like that instead of "Check again"?
Hi @WorkHard
Thank you for your feedback.
I think the reason is that event 62 and 63 is also in 18th and 19th.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.