Good Day guys , I want to show the difference of 2 columns in a table and also want to show if its reach the target by goals (green if its greater than the Target otherwise red)
Thanks in Advance!
Go to Solution.
Hi @RanHo ，
Please create the relationship between ACTUAL table and TARGET table:
Then create the following measures:
DIFFERENCE = SUM(TARGET[TARGET GOALS]) - SUM(ACTUAL[ACTUAL GOALS])
Color = IF( [DIFFERENCE] > 0, "red", "green" )
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
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
@RanHo , You can create two meausres
Target= sum(Table[TARGET GOALS]) Actual= sum(Table[ACTUAL])
Create a color measure and use that in conditional formatting using field value option
color = If([Target] >[Actual], "Red", "Green")
@amitchandak Sir, first I want to show the DIFFERENCE column coz I dont have the column or measure for DIFFERENCE, and also the TARGET column and ACTUAL column was from different table is it possible?
Learn how to create your own user groups today!
Click here to read more about the November 2021 Updates!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.