Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
akramzaki89
New Member

Q1 2021 and Q1 2022 combined

I have Top 10 table with columns as below:

akramzaki89_0-1652338834383.png

I also made a slicer separating Quarter & Year. (Report Period)

akramzaki89_1-1652338888597.png

When I choose 2021-Q1, the data visualisation combined with 2022-Q1. How to separate it? It should be showing Top 10, but when I choose 2021-Q1 and 2022-Q1, it shows 20. (combining 2021-Q1 and 2022-Q2)

1 ACCEPTED SOLUTION
akramzaki89
New Member

Dear all,

 

I managed to solve the issue. It is related with the relationship. I fixed the relationship and now it works. 

Thank you all. 

View solution in original post

2 REPLIES 2
akramzaki89
New Member

Dear all,

 

I managed to solve the issue. It is related with the relationship. I fixed the relationship and now it works. 

Thank you all. 

amitchandak
Super User
Super User

@akramzaki89 , Based on what I got You can add Qtr Year in your Visual OR create a subcategory rank , 10 from each Qtr

 

Rankx(Filter(Allselected(Table[Qtr Year], Table[Categoty]), [Qtr Year] = max([Qtr Year]) , [Measure])

 

Combine rank

Rankx(Allselected(Table[Qtr Year], Table[Categoty]) , [Measure])

 

 

For Rank Refer to these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors