Forum Discussion
alexei7
6 years agoContinued Contributor
Total Incorrect for weighted calculation - DAX help
Hi everyone, I'm struggling with DAX and hoping someone here can help. My data is a table with a row for each sale, split by date and country. I have another table which contains the number ...
v-juanli-msft
6 years agoCommunity Support
Hi alexei7
Create a measure
Measure = IF(ISINSCOPE(Sales[SalesDateMonth]),[Adjusted Sales],SUMX(ALLSELECTED(Sales),[Adjusted Sales]))
Best Regards
Maggie
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
alexei7
6 years agoContinued Contributor
Hi Maggie,
Thanks very much for your help.
This does work in that specific visual, however I also want to use this metric in a matrix visual with the date.
Equally I noticed that the metric only worked when the slicer is being used, i want this to work all the time.
The below is the kind of chart where i want this metric to also work:
Let me know if you have any questions where I can clarify.
Thanks
Alex