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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

kpi indicator - displaying by month

Hi,

 

I use the "KPI Indicator" visualization and I am not able to display the curve behind correctly by month.

 

My firt try was to put a date into "trend axis" but there is to much points as it takes the whole date. When I use the hierachy I can only display it by year.

 

So I decide to extract month and year. But it sorts the trend axis like this 10 1 11 12 (month number).

 

Any idea to proceed please ?

 

Thanks

7 REPLIES 7
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

To update the formula of yours as below.

 

 

Month = YEAR('sample'[END_DATE_UT])*100+MONTH('sample'[END_DATE_UT])

 

Then we can sort the Month column as we need.

 

Capture.PNG

For more details, please check the pbix as attached.

 

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

Any idea ?

v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

How about changing the sort by this way. We can make the month column to be sorted by the date column in Modeling pane.

 

Capture.PNG

 

If it doesn't meet your requirement, kindly share your sample data to me. Please upload your files to One Drive and share the link here.

 

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

Hi @v-frfei-msft,

 

It doesn't work as well. It displays month in this order : 10 1 11 12

 

I will try to make you a sample.

 

Thanks

Greg_Deckler
Super User
Super User

Sounds like you need a Sort By column for your month? Maybe a numeric value like 201901, 201812, 201811, 201810, 201809, like that?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler Unfortunatly it doesn't work the numeric value is   20191 not 201901 😕

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.