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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
nileshroy1
Frequent Visitor

KPI Visual similar to Column Chart with conditional colour formatting option

Hi All,

 

I have a requirement to display an KPI Visual which should look like a Stacked Column Chart, please see image below: 

 

KPI_Visual_Custom_Formatting.PNG

 

However, it should display GREEN when the VALUE is less than TARGET VALUE and RED when value is more than target value.

Ex: Above value is shown in Green since it is less than 65, but shown as proportion of total value.

 

If I try displaying above value in Stacked Column Chart, it display as shown below:

 

StackedColumnChart.PNG

 

After doing a bit of research in Internet, I found some custom visual having custom formatting option such as in LINEAR GUAGE by MAQ Software. This visual works fine on Desktop, however does not work well on Mobile.

LinearGuageByMAQsw.PNG

 

 

Is there a better way to achive above requirements?

 

Best Regards,

NR1

 

 

1 ACCEPTED SOLUTION
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @nileshroy1,

 

By my test with many graphs, it seems that there is no better graph to meet your requirement in Power BI currently.

 

For another option, You may have a try with the custom visual Slim Data bar KPI which is similar with the chart  LINEAR GUAGE by MAQ Software.

 

kpi visual.PNG

 

If that still don't meet your requirement,  I suggest you could try with table visualization which have the conditional formatting.

 

Best regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
MAQSupport
Solution Supplier
Solution Supplier

Hello @nileshroy1,

 

We have fixed the bug that appeared in iOS when using Linear Gauge by MAQ Software visual in the latest build. 

 

Thanks.

MAQSupport
Solution Supplier
Solution Supplier

Hello @nileshroy1,

 

Can you please send us a screenshot of the issue you faced with Linear Gauge by MAQ Software on mobile?

 

You can connect with us on support@maqsoftware.com

 

Thanks.

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @nileshroy1,

 

By my test with many graphs, it seems that there is no better graph to meet your requirement in Power BI currently.

 

For another option, You may have a try with the custom visual Slim Data bar KPI which is similar with the chart  LINEAR GUAGE by MAQ Software.

 

kpi visual.PNG

 

If that still don't meet your requirement,  I suggest you could try with table visualization which have the conditional formatting.

 

Best regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks @v-piga-msft,

 

That was very helpfull, it is able represent data in a similar way but horizontally instead of vertically.

 

Is there a way to make the visual vertical, I tried it's Orientation Option but it does not change.

 

Also is there a way to get it's code to enhance it?

 

Cheers

NR

Phil_Seamark
Microsoft Employee
Microsoft Employee

HI @nileshroy1

 

Have a quick look at the attached PBIX file.  If you select more (or fewer) items on the slicer the color of the column will change once you go over/under 60

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Thanks Phil for your reply.

 

Sorry, I did not provide a test dataset to clarify the requirement.

 

The Colour of BAR is determined by comparing two incoming values.

 

The Test Data is as follows:

PBI_Ex_TestData.PNG

 

For Ex, Based on above dataset, I need to create following BAR:KPI_Visual_Custom_Formatting.PNG

 

 

If the Flow Column Value is greater it should be shown in RED.

 

Thanks

NR1

Oh ok,

 

I was taking advantage of the [color saturation] field, but that only works if you only have one metric per column.  Sorry


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

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!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.