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
bimystic
Helper I
Helper I

Add parameter to Highest and Lowest value in Matrix and Year format

 

I am using BI to show the below KPI chart below 

Figure 1: Power BI Report

 

BI_KPI.PNG

 

 

The raw data is available as below and I am converting it for using in BI 

Table A: Raw Data

 

               
KPIPriorityTargetMinimumAug 2017Sep 2017Oct 2017Nov 2017Dec 2017Jan 2018Feb 2018Mar 2018Apr 2018May 2018Jun 2018
My Project KPIP1>=98%<85%1009198100100921009410089100
P2>=95%<70%899296939894991009910099
P3>=90%<50%98100100881001008010010099100

 

The transposed data used by me is as shown below:

Table B: Data format used in Power BI

 

Priority DateKPI_Value
P11-Jan-1998
P21-Jan-1992
P31-Jan-1980
P11-Feb-1960
P21-Feb-19100
P31-Feb-1974
P11-Mar-19100
P21-Mar-1999
P31-Mar-1982
P11-Apr-1998
P21-Apr-1994
P31-Apr-19100

 

I have used Matrix report and created the above report. 

 

Currently I have to ensure the below:

1- In order to highlight the values which are outside the KPI I have used Field Formatting -> Advanced Settings and set the upper and lower limits. So you can see in my graph that all values below 80 are in RED and in 100 are in green.

The problem is that I have a different threshold for each row as shown in Table A. Can I use some parameters or provide some tool to enable the user to change the upper and lower limit and see the color being updated in the graph. Like we have the slicer and we can choose and filter records.

2-Date Filter 

I need to add a filter in the Slicer which needs to display only the year as the company has data for last 6 years. Currently, when I am adding a date filter it is showing up the dates as showing in the Figure 1 at the top. Do I need to do some changes in the data model to display only Year in the slicer?

 

Thank you in advance for your help.

 

Regards

BI Mystic 

 

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@bimystic,

 

You can apply conditional formatting based on a measure and use YEAR to add a calculated column for slicer.

Community Support Team _ Sam Zha
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

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@bimystic,

 

You can apply conditional formatting based on a measure and use YEAR to add a calculated column for slicer.

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

Thanks for your reply, I am using a new column and adding year, how can I set it to pick the date from my column having dates.

Is there a tutorial already available for the measure and conditional formatting and how to use an existing column to calculate values in the new column. Sorry for my queries as I am a newbie. 

 

Regards

 

 

 

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.