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
Anonymous
Not applicable

How to get same top 5 customers in different visual

Hi all

 

I will try to explain my problem easily to you.

 

I have two table as Data and Date.

 

Data Table: 

CustomerDimensionKPI1KPI2
.01101637850800
.03200536060800
808545170800
1001834020800

* dimension column using for date as text. It has weeks and months. Weeks are shown as 2 digits (01,02,52) and months are shown as 3 digits (01,02,12). You don't need to do anyting with this. I have already join it to my date table.

I was created two column on this table as No and Rank.
No = 1

RANK = CALCULATE(SUM(data[NO]);FILTER(data;data[Dimension] = EARLIER(data[Dimension]) && data[KPI1]>=EARLIER(Data[KPI1])))

 

Date Table:

IndexIDDimensionText
101WeeklyW01
202WeeklyW02
53001MonthlyJanuary
54002MonthlyFebruary

 

this two tables are joined on ID and Dimension columns. You can check the full data set from pbix.

 

Lets talk about my situation.

 

I added 2 date filter to page. Every date filter must be only filter the own below visual. Then when the first one selected it must be show the top 5 customers for their overdue values. I use the column to get top 5 which i have already created. (Rank)


Visual on the left side is okey for me. I want to transform to the right side visual. On the right graph, i want to show the top 5 overdue value according to the customers on the left. so, I would like to see the values ​​of the 5 customers on the left according to the filter on the right

1.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

As an example; the graph on the right should look like this.

 

CustomerDimensionKPI1KPI2
52500016882198247574269867301
6220529513264402015211471699
45031085223481373334813733
8140131899234309240115571666
1750051846237990784162748048

 

I really need help for this situaion. Thanks for all

You can get the pbix from there

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Remove the rank column of the right visual should work.

 

Capture.PNG

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

It isn't what i'm looking for. Not working !

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.