Forum Discussion

rsrajkumar's avatar
rsrajkumar
Helper I
1 year ago
Solved

DAX query to compare previous values

I am new to PowerBI. I need help in creating a DAX function for the below table named 'Cases'. The requirement is to Sum the Column 'Value' that have the same 'ID'. For example the DAX expresssion should return 1 for A1B, 2 for B2C, and 1 for C2A  

 

 

 

 

 

 

 

  • Have you tried putting both columns into a table visual - you should get your desired result without DAX.

  • lbendlin I tried the table visual solution with additional filters, and it worked. Thanks a lot! 

4 Replies