cancel
Showing results for
Did you mean:
Frequent Visitor

## Top N in Matrix Visual shows different results if I structure them in two different ways

Hi, I have a problem. I like to show the To 3 Open AR Overdue Positions within a matrix visual. I have the two Filters Customers (Kunde) and Fälligkeiten (Overdues)

If I cluster them in the matrix in a way like the first chart, I will get the top 3 and the right information concerning the overdues.

If I cluster the overdues as colums, my formula will give the 3 Top overdues in each category (A nicht fällig etc.)

But that is not what I want. I want that my formula only gives my the top 3 Overdues and then shows their category. So it would be the top three overdues of the customers regardless of the sub category Fälligkeiten.

My formula is this one
Offene Posten calculates the Overdues

Top N OP_II = calculate ([Offene Posten],KEEPFILTERS(TOPN(3,ALLSELECTED('Pseudo
KNA1 Table'),[Offene Posten])))

Has anybody an idea what could help?

Best Regards Mike

1 ACCEPTED SOLUTION
Community Support

Could you tell me if my post helps you a little? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.

Best Regards,
Eyelyn Qin

5 REPLIES 5
Super User

Select the Overdue field in the filter pane, select TopN as the filter type, type in 3 and use the [Offene Posten] measure as the parameter in the filter

In doing so, you are also helping me. Thank you!

Proud to be a Super User!

Community Support

Could you tell me if my post helps you a little? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it.

Best Regards,
Eyelyn Qin

Community Support

I have built a data sample:

Then simply used the following formula :

``Offene Posten = SUM('Table'[Value])``
``Top N OP_II = calculate ([Offene Posten],KEEPFILTERS(TOPN(3,ALLSELECTED('Table'),[Offene Posten])))``

The final output in my side is shown below, seemed to work.

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Super User

@MichaelSievers , What is expected output, please share in table format

also try

Top N OP_II = calculate ([Offene Posten],TOPN(3,ALLSELECTED('Pseudo
KNA1 Table'),[Offene Posten]), value('Pseudo
KNA1 Table'))

Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!
Frequent Visitor

Not Working 😥

Announcements

#### 2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.