Forum Discussion
DAX expression aggregation
- 4 years ago
Hi, Anonymous
You can try the following methods.
Column:
value = IF([numerator]=0,0,DIVIDE([numerator],[denominator]))Measure:
Measure = IF ( HASONEVALUE ( 'Table'[report_date] ), SUM ( 'Table'[value] ), DIVIDE ( SUM ( 'Table'[numerator] ), SUM ( 'Table'[denominator] ) ) )Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous - If you want to look at weekly values, its better to create a calculated column in your table for week start date and then use it in the Matrix (instead of the report date column).
Did I answer your question? Mark my post as a solution! If not, please feel free to ask me.
Also, I would ❤ Kudos if my solution helped. It is a token of appreciation!
Thank you very much !
Thank you for the assistance! I had another question come from trying to return values for the current week where the value returned is calculating much higher than it should be. Would this calc column solve for that?
Example: None of these values should be higher than 100%