Forum Discussion
Anonymous
2 years agoNot applicable
Keep returning text in my visualization rows
Hi, I keep pulling up text in my matrix for this dax measure Average Spend = VAR CohortStartMonth = SELECTEDVALUE('AR Invoice'[Cohort]) VAR CurrentMonth = EOMONTH(CohortStartMonth, SELECTEDVALU...
Anonymous
2 years agoNot applicable
Hi Anonymous ,
Thanks amitchandak for the quick reply. Allow me to suggest other ideas:
Have you tried creating the measures separately to see if the output is correct? Such as:
_a =
DISTINCTCOUNT ( 'AR Invoice'[customer_id] )_b=
CALCULATE (
DISTINCTCOUNT ( 'AR Invoice'[customer_id] ),
ALLSELECTED ( 'Customer Age Bucket' ),
'Customer Age Bucket'[Age] = 1
)_c =
DIVIDE (_a,_b)Retain % =
CALCULATE (_c,
'Customer Age Bucket'[Age] > 1
)
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.