Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi,
I have a list of the top 5 days this month. I need to compare it to the top 5 days of last year this month. To get the top 5 days of this month is simple, I have a table visual and order by top actvity and then add a filter to restrict to 5. How would I then add last year's top 5 days for this month next to it and then compare the growth between the two?
Much appreciated.
Hi,
Share some data and also show the expected result.
@duggy ,
You may create a measure using DAX like pattern below:
Last Year Same Month = TOPN ( 5, FILTER ( Table, YEAR ( Table[Date] ) = YEAR ( TODAY () ) && MONTH ( Table[Date] ) = MONTH ( Table[Date] ) ) )
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
72 | |
71 | |
65 | |
42 | |
42 |
User | Count |
---|---|
49 | |
42 | |
29 | |
28 | |
27 |