Forum Discussion
Aggregation logic dax
Hai rohit_singh,I have a model number but that is a fully text data type so I cannot sum
This is the measure and this column consist of text values so i am taking distinct count
can you change your measure based on this
Hi AlanP514 ,
Please try this :
% Share Range =
var _total =
SUMX(
ALLEXCEPT(Markets, Markets[Market]),
[# Model Number]
)
var _target =
DIVIDE(SUMX(Markets,[# Model Number]), _total, 0)
Here [# Model Number] is your measure.
Kind regards,
Rohit
Please mark this answer as the solution if it resolves your issue.
Appreciate your kudos! 🙂
- AlanP5144 years agoPost Patron
- rohit_singh4 years agoSolution Sage
- AlanP5144 years agoPost Patron
Hai rohit_singh This is the actual value that should return but based on your dax I am getting this
I am attaching underThese values are wrong please look above attached image and way i want to calculate