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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
DAXNewbie2023
Frequent Visitor

Show top 5 KPIs

Hi All - I am building a consolidated dashboard that pools data from Adobe & Google Analytics. My ultimate goal is to compare the KPIs (around 30 in number) for the same month between Current & Previous year and show the percentage change (increase/decrease) with an option to chose a month from a slicer. I am able to achieve this by creating a measure using the DAX formula 'Calculate' *(Bounce Rate Percentage Change = (CALCULATE(SUM('AEM'[Bounce Rate_AEM]),'AEM'[Year] = 2023)-CALCULATE(SUM('AEM'[Bounce Rate_AEM]),'AEM'[Year] = 2022))/CALCULATE(SUM('AEM'[Bounce Rate_AEM]),'AEM'[Year] = 2022))* 

I have created 30 measures (1 for each KPI) and housed all these under one table.

 

Now, the problem is that the end user wants to select a Month and wants to see the list of top 5 and bottom 5 performing KPIs for that particular month.

For example - if the Month of January has 30 KPIs, let's say - KPI1, KPI2, KPI3,....KPI30 and if KPI3, KPI5, KPI7, KPI12, KPI15 have the highest changes for January, then the user wants to see these 5 only in a table or some visualization (If possible, along with the percentage change for each KPI). Same for bottom 5 performing KPIs as well.

 

Can someone give me an idea on how this can be achieved using DAX or some visualization with filters applied?

 

 

 

YearMonthPage viewsDownloadVideo PlayedVisitsVisitorsPage views % ChangeDownload % ChangeVideo Played % ChangeVisits % ChangeVisitors % Change
2022Jan73794874874128538816     
2022Feb85814049504446892100     
2022Mar86501514694951332857     
2022Apr12071239450617137181     
2022May51369269502215416744     
2022Jun21618292634366841642     
2023Jan65929319480966653451-11%91%-45%134%-61%
2023Feb80228063545711332047-7%99%8%-76%-3%
2023Mar64954908283787945426-25%224%-59%71%90%
2023Apr33941728289129279274181%39%-36%71%29%
2023May27994703687893984840-46%-49%37%510%-28%
2023Jun2673383198794813251524%-54%56%-28%53%
3 REPLIES 3
v-tangjie-msft
Community Support
Community Support

Hi @DAXNewbie2023 ,

 

Unfortunately, The current system does not support this function. 

If you would like to suggest  feature improvements, you may  vote the idea and comment here to improve this feature. It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best Regards,

Neeko Tang

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

Thanks for the response @v-tangjie-msft .

 

Can you please possibly think and let me know if there's any other way approaching this problem? I am open to trying any different approach that could potentially achieve the end goal of the user. Thanks in advance!

Hi @DAXNewbie2023 ,

 

I'm sorry to say that through my testing there is no replacement program. You can try to create a measure with all the values and filter it by topn function.

 

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.