Forum Discussion
multiple columns in calculate function
- Anonymous3 years ago
Hi Jane689 ,
I have created a simple sample, please refer to it to see if it helps you.
Create 2 measures.
Measure = MAX('Table'[videos])+MAX('Table'[filedownloads])+MAX('Table'[visits])Measure 2 = var _b=SUMMARIZE('Table','Table'[pagename],"aaa",[Measure]) return IF(HASONEVALUE('Table'[pagename]),[Measure],SUMX(_b,[aaa]))If it still does not help, please provide more details with your desired output and pbix file without privacy information.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the input.
I need to use this measure as values in matrix visual and show visits,file downloads and videos in different rows.
The solution that you have provided sums up all 3 columns but i need to show these 3 separately .
- Jihwan_Kim3 years agoSuper User
Hi,
Thank you for your feedback.
Please share your sample pbix file's link together with how your desired outcome of the visualization looks like, and then I can try to look into it to come up with a more accurate solution.
Thanks.