Forum Discussion
Missed icons for table conditional formatting
- 6 years ago
Hi Anonymous ,
You can use the IF statement to nest, and change the measure: "% CT 2 with area" in the previous demo to the following formula:
% CT 2 with area = IF ( ISINSCOPE ( 'Table (2)'[ Area] ), DIVIDE ( SUM ( 'Table (2)'[Qty] ), CALCULATE ( SUM ( 'Table (2)'[Qty] ), ALLSELECTED ( 'Table (2)'[ Area] ) ) ), DIVIDE ( SUM ( 'Table (2)'[Qty] ), CALCULATE ( SUM ( 'Table (2)'[Qty] ), ALLSELECTED ( 'Table (2)'[MercatoAgente] ) ) ) )Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
You can use the IF statement to nest, and change the measure: "% CT 2 with area" in the previous demo to the following formula:
% CT 2 with area =
IF (
ISINSCOPE ( 'Table (2)'[ Area] ),
DIVIDE (
SUM ( 'Table (2)'[Qty] ),
CALCULATE ( SUM ( 'Table (2)'[Qty] ), ALLSELECTED ( 'Table (2)'[ Area] ) )
),
DIVIDE (
SUM ( 'Table (2)'[Qty] ),
CALCULATE (
SUM ( 'Table (2)'[Qty] ),
ALLSELECTED ( 'Table (2)'[MercatoAgente] )
)
)
)Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Great v-joesh-msft, thank you very much!
I would like to mark your answer as the solution but I should log in with my old account (nick93) and right now I have some issues I am trying to solve with Support, so for the moment saldy I can't.
Thanks for your help!