Forum Discussion
Dax issue need help in dax
- 1 year ago
shahrukhgaffar0 Try using
Revenue for Stacked Bar =
VAR SelectedProbs = VALUES(Dim_Win_Prob[Win Probability])
VAR CurrentProb = SELECTEDVALUE(Dim_Win_Prob[Win Probability])
RETURN
IF(
CurrentProb = 100
|| CurrentProb IN SelectedProbs,
CALCULATE(
SUM('Tbl_Revenue'[Revenu_USD]),
'Tbl_Revenue'[Win Probability] = CurrentProb
)
)Use This Measure in Your Stacked Bar Chart
Axis: Month
Legend: Win Probability
Value: Revenue for Stacked BarSlicer on Dim_Win_Prob[Win Probability] (exclude 100 from slicer if you want it always present).
Hi shahrukhgaffar0 ,
We’d like to confirm whether your issue has been successfully resolved. If you still have any questions or need further assistance, please don’t hesitate to reach out. We’re more than happy to continue supporting you.
We appreciate your engagement and thank you for being an active part of the community.
Best Regards,
Lakshmi.
Hi @shahrukhgaffar0 ,
We’d like to confirm whether your issue has been successfully resolved. If you still have any questions or need further assistance, please don’t hesitate to reach out. We’re more than happy to continue supporting you.
We appreciate your engagement and thank you for being an active part of the community.
Best Regards,
Lakshmi.