Forum Discussion
Praj
Helper I
3 years agoHow to aggregate rows based on columns
Hello Everyone,
I have the below source table where each account has the RAG status.
I am trying to create a new output table from the above pasted table to get the unique account name and respective status. Below is the output table I am looking for using DAX.
I tried the lookup however, due to accounts associated with multiple status it throwed an error. Any approach on this problem will help me a lot.
TIA
Cheers,
Praj
- Anonymous3 years ago
Hi Praj ,
Please try:
Table 2 = DISTINCT( SELECTCOLUMNS('Table',"Account",[Account],"Status",[Status]))Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- AnonymousNot applicable
Hi Praj ,
Please try:
Table 2 = DISTINCT( SELECTCOLUMNS('Table',"Account",[Account],"Status",[Status]))Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.