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

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?


@ 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!:
The Definitive Guide to Power Query (M)

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
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.