Forum Discussion
COUNT and difference
- Anonymous4 years ago
Hi robertosangi ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want.
1. Create relationships between Wn, Wn-1 and Person table base on the field Person just as below screenshot
2. Create two measures as below to get the count of cases in Wn and Wn-1
Wn = COUNT('Wn'[#Case])Wn-1 = COUNT('Wn-1'[#Case])3. Create a measure as below to get the difference between Wn and Wn-1
Difference = [Wn]-[Wn-1]4. Create a table visual as below screenshot
Best Regards
Hi robertosangi ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want.
1. Create relationships between Wn, Wn-1 and Person table base on the field Person just as below screenshot
2. Create two measures as below to get the count of cases in Wn and Wn-1
Wn = COUNT('Wn'[#Case])Wn-1 = COUNT('Wn-1'[#Case])
3. Create a measure as below to get the difference between Wn and Wn-1
Difference = [Wn]-[Wn-1]
4. Create a table visual as below screenshot
Best Regards
Thank you. This is what I meant!