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
Daniel_3000
Regular Visitor

Power KPI (2.0.0)_Date Axis

Hi there,

 

currently I'm using the "Power KPI (2.0.0)" visual.

 

Now with the first report in 2021 I have noticed a problem with the formating of the date axis.

Here the visual shows january 2021 as first datapoint and before all months of 2020.

 

I could show all data depending to the day instead of the month and get the right order but I want to show the average for each month.

 

I also tried to set the hierachy to year AND month which works with normal line charts but I think that the "Power KPI (2.0.0)" visual only allows one date (year OR quarter OR month OR day).

KPI2.0.0_2.PNG

Is there any solution for that problem?

 

BG,

Daniel

1 ACCEPTED SOLUTION
timg
Solution Sage
Solution Sage

Hi Daniel,

 

I'm not sure how your month column looks, but if it is in a similar format "2021-Jan" the issue could be that the data is saved as text and is therefore sorted alphabetically. By sorting the month column by a numerical column for example a MonthKey (e.g. 202101 for Januari 2021) you could correct these sorting issues. You can find the sort by option in de model view and in the column tools tab when you have a column selected.

image 1: alphabetical sortimage 1: alphabetical sort

image 2: sort optionimage 2: sort option

image 3: corrected sortimage 3: corrected sort

 

Regards,

 

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
timg
Solution Sage
Solution Sage

Hi Daniel,

 

I'm not sure how your month column looks, but if it is in a similar format "2021-Jan" the issue could be that the data is saved as text and is therefore sorted alphabetically. By sorting the month column by a numerical column for example a MonthKey (e.g. 202101 for Januari 2021) you could correct these sorting issues. You can find the sort by option in de model view and in the column tools tab when you have a column selected.

image 1: alphabetical sortimage 1: alphabetical sort

image 2: sort optionimage 2: sort option

image 3: corrected sortimage 3: corrected sort

 

Regards,

 

Tim





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.