cancel
Showing results for 
Search instead for 
Did you mean: 
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



Power BI Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Solution Authors
Top Kudoed Authors