Hi Fellow Power BI Users -
I am trying to find a method to appropriately format my “selected measure” so it corresponds to currency if the Dollar Measure is selected and or a whole number when the Quantity measure is selected.
Do you have anything published or, can you point me in a direction?
Thanks
Measure Selection(Qty or $) :=
IF ( ISCROSSFILTERED ( ‘MeasureDim_Qty_vs_Dollar’[Measure] ),
SWITCH (
TRUE (),
VALUES ( ‘MeasureDim_Qty_vs_Dollar’[Measure] ) = “Carton Qty”, [TTLCartonQty],
VALUES ( ‘MeasureDim_Qty_vs_Dollar’[Measure] ) = “Carton $”, [TTLCarton$],
BLANK ()
),
BLANK()
)