Forum Discussion
ThomasDay
Impactful Individual
10 years agoA single value in column [CMI] in file....cannot be determined...
Hello all--yes, this is a very common error. Part of the DAX learning experience I guess. There are many variations it seems. The measures (derived from measures) I'm looking to create are of ...
- 10 years ago
Try using a VAR, see the blog article here:
http://community.powerbi.com/t5/Community-Blog/DAX-as-a-Language/ba-p/22120
ThomasDay
Impactful Individual
10 years agoThanks very much. I'll try it tomorrow! Tom
ThomasDay
Impactful Individual
10 years agoGreg_Deckler That worked great. Here's the pattern I ended up using.
XXX Adj =
// Each facility is a single scalar, but the totals are an average of the CMI's--and not adjusted
// for the case counts in each facility
VAR CMIVAL = DIVIDE(SUMX(FR2015_standardizing_file, [CMI]),COUNTX(FR2015_standardizing_file,[CMI]))
RETURN
(DIVIDE([XXX],CMIVAL))
Thanks,
Tom