Forum Discussion
Subtracting Value
Hi Anonymous ,
If there is no sample file to view the measure details, there may be deviation.
Please try:
Measure =
var total = SUMX(ALLEXCEPT('Table','Table'[Size]),[Measure(Qas)])
return total-[Measure(limit)]If the problem persists,could you share the sample pbix via cloud service like onedrive for business?
Please remove any sensitive data before uploading.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
data look like below, please update me (can't share pbi file)
- V-lianl-msft5 years agoCommunity Support
Hi Anonymous ,
Be aware that DAX measure are based on row context so any given value from slicers, filters, interactions with other visualizations, variables, relationships and so on can influence your result.
Please paste the data in the form of a table, and provide the two measures involved in the screenshot. It will make me more clear about your scenaio.
Please remove any sensitive data before uploading.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- Anonymous5 years agoNot applicable
again I'm sorry , I can't paste file, please see below screenshot,
- V-lianl-msft5 years agoCommunity Support
Hi Anonymous ,
Please refer to:
Measure = VAR x = SUMX( FILTER( ALLSELECTED(Sheet7), [UID] = MAX([UID]) ), [Prod_Vol] ) RETURN [Prod_Stock]- xBest Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.