Forum Discussion
abc_777
3 years agoSolution Specialist
hi
hi,
can some one say how can i pur color when switch between these two measure please
Total in Piece and KG (Measure) =
IF (
HASONEVALUE ('Total in Piece and KG (Measure)'[Total in Piece and KG (Measure) ]),
SWITCH (
VALUES ('Total in Piece and KG (Measure)'[Total in Piece and KG (Measure) ]),
"Total Quantity in Piece (Measure)", ([Total Quantity in Piece (Measure)]), >>>>>>>>>>>>>> measure 1
"Total Quantity in KG (Measure)", ( [Total Quantity in KG (Measure)]) >>>>>>>>>>>>>> measure 2
))
give me deep Blue and Orange colour code please
thanks
5 Replies
- v-luwang-msftCommunity Support
- abc_777Solution Specialist
here is the sample file. please help me with how i can colour for each measure under main measure
thanks
- abc_777Solution SpecialistHere my new or main measureTotal in Piece and KG (Measure) is general or decimalwhen i selectTotal Quantity in Piece (Measure) >>>>>>>>>>>>> values should come as general or decimalandTotal Quantity in KG (Measure) >>>>>>>>>>>>> values should come as 0.00 KGTotal in Piece and KG (Measure) =IF (HASONEVALUE ('Total in Piece and KG (Measure)'[Total in Piece and KG (Measure) ]),SWITCH (VALUES ('Total in Piece and KG (Measure)'[Total in Piece and KG (Measure) ]),"Total Quantity in Piece (Measure)", ([Total Quantity in Piece (Measure)]), >>>>>>>>>>>>>> measure 1"Total Quantity in KG (Measure)", ( [Total Quantity in KG (Measure)]) >>>>>>>>>>>>>> measure 2))thanks