Forum Discussion
Formatting Y-axis
- 5 years ago
Hi, dashboard-1 ;
IF you want show in graph, you could create two measures ,because one measure only show one type unless use format. so please try two measures:
Dynamic Display1 = VAR selectitem = IF ( HASONEVALUE ( Selector[Type] ), VALUES ( Selector[Type] ), BLANK () ) RETURN SWITCH ( selectitem, "Cost", SUM ( [Cost] ) )Dynamic Display2 = VAR selectitem = IF ( HASONEVALUE ( Selector[Type] ), VALUES ( Selector[Type] ), BLANK () ) RETURN SWITCH ( selectitem, "number", SUM ( [number] ), BLANK () )Then change measure1 type
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, dashboard-1 ;
IF you want show in graph, you could create two measures ,because one measure only show one type unless use format. so please try two measures:
Dynamic Display1 =
VAR selectitem =
IF ( HASONEVALUE ( Selector[Type] ), VALUES ( Selector[Type] ), BLANK () )
RETURN
SWITCH ( selectitem, "Cost", SUM ( [Cost] ) )
Dynamic Display2 =
VAR selectitem =
IF ( HASONEVALUE ( Selector[Type] ), VALUES ( Selector[Type] ), BLANK () )
RETURN
SWITCH ( selectitem, "number", SUM ( [number] ), BLANK () )
Then change measure1 type
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- dashboard_15 years agoFrequent Visitor
Thank you so much! This is working 😀