Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon'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.
Good afternoon.
I can't calculate so that of an average I calculate it with a target value of a table and I put it in conditional format, I tell you:
I have calculated the average of a series of indicators and in a table I have for some of those indicators a series of target values to see if they are met, I need you to compare the average with the value and tell me if or not it is not met, or a conditional format.
According to the indicator the comparison will be for < or >
Greetings and thanks.
Solved! Go to Solution.
Hi @Aguirre ,
According to the information I'm seeing you need to do something similar to:
Comparision = IF( [Promedio] < SUM(Table[Objective]), 1, 0)
I assume your Objective is the column on the model then just use the 1 and the 0 to make your condittional formatting.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi, @Syndicate_Admin
You could create a measure by the following formula:
condiional =
IF ( MAX ( 'Table'[Promedio] ) < 'Table'[Objetivo2], "Green", "Red" )
Then apply conditional formatting: you could choose the background or font color.
The final output is shown below:
If it does not make sense, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Best Regards,
Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Syndicate_Admin
You could create a measure by the following formula:
condiional =
IF ( MAX ( 'Table'[Promedio] ) < 'Table'[Objetivo2], "Green", "Red" )
Then apply conditional formatting: you could choose the background or font color.
The final output is shown below:
If it does not make sense, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Best Regards,
Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Using the same exemple. How can I do a conditional formatting comparing promedio's avarege and objetivo's avarege?
Hi @Aguirre ,
According to the information I'm seeing you need to do something similar to:
Comparision = IF( [Promedio] < SUM(Table[Objective]), 1, 0)
I assume your Objective is the column on the model then just use the 1 and the 0 to make your condittional formatting.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHello and thank you for the answer.
Several problems, I have empty cells and this way I would put them as a 0, and then as the field varies the comparison, it could be <o>, I'm thinking of adding an additional column to control that.
You can control that on the IF measure itself.
Can you share a small sample and expected result for each line?
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsGood morning and sorry for the delay, I have finally changed the idea and solved it with a meter, since I have seen it easier. thank you very much for the help.
Hi and thanks for the answer.
Several problems, I have empty cells and in this way I would put them as a 0, and then according to the field the comparison varies, it could be <or>, I am thinking of adding an additional column to control that.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
69 | |
46 | |
39 | |
33 |
User | Count |
---|---|
163 | |
110 | |
61 | |
51 | |
40 |