Forum Discussion
Anonymous
6 years agoNot applicable
Issue with Line chart
Hi All, I have to use a Line chart to show the sales unit by the date and when we select multiple stores then every store shows by separate color(Legend) as shown below: Expected Result: B...
- 6 years ago
Hi,
Please check my attached pbix file.
Best Regards,
Giotto
v-gizhi-msft
6 years agoCommunity Support
Hi,
Please try this:
AllSelected =
IF (
CALCULATE ( DISTINCTCOUNT ( Sales[Store] ), ALLSELECTED ( Sales[Store] ) )
< CALCULATE ( DISTINCTCOUNT ( Sales[Store] ), ALL ( Sales[Store] ) ),
SUM ( Sales[Quantity] ),
CALCULATE ( SUM ( Sales[Quantity] ), ALL ( Sales[Store] ) )
)Hope this helps.
Best Regards,
Giotto
- Anonymous6 years agoNot applicable
No, It shows the same result as previous.
It is not working
- v-gizhi-msft6 years agoCommunity Support
Hi,
Please check my attached pbix file.
Best Regards,
Giotto