Forum Discussion
Need Help With Matrix
- Anonymous5 years ago
Hi ilTac ,
Please update the formula of measure as below and check whether it can get your desired result:
Measure =CALCULATE( CONCATENATEX ( DISTINCT ( 'Table'[Activities] ), 'Table'[Activities], "," )) or
Measure =CALCULATE( CONCATENATEX ( VALUES( 'Table'[Activities] ), 'Table'[Activities], "," ))If the above one is not applicable for your scenario, please provide the requirement with sample data and your expected result. Thank you.
Best Regards
Community Support Team _ Rena Ruan
If this post helps, then please consider Accept it as the solution to help the other members find it more.
ilTac , Can concatenation is an option?
Try measure like
concatenatex(Table, Table[activities])
concatenatex(Table, Table[activities],",")
- ilTac5 years agoFrequent Visitor
amitchandak Hi, thaks for the answer but i didn't understand well. I have to try to create a new measure in the query using those sintax?
Thank you
EDIT: the solution works! The only problem is that sometimes Activities has color code so if there are two activities in the same week with concatenatex that two activities are in the same cell and have only one color. Do you know some work around to this?
Thank you
- Anonymous5 years agoNot applicable
Hi ilTac ,
Please update the formula of measure as below and check whether it can get your desired result:
Measure =CALCULATE( CONCATENATEX ( DISTINCT ( 'Table'[Activities] ), 'Table'[Activities], "," )) or
Measure =CALCULATE( CONCATENATEX ( VALUES( 'Table'[Activities] ), 'Table'[Activities], "," ))If the above one is not applicable for your scenario, please provide the requirement with sample data and your expected result. Thank you.
Best Regards
Community Support Team _ Rena Ruan
If this post helps, then please consider Accept it as the solution to help the other members find it more.