Forum Discussion
vnaga85
8 years agoFrequent Visitor
Dynamically Calculate Sum based on the filter
Hi I have table like below Product Rewardamount Bill amount Month A 100 60 1 A 4...
- 8 years ago
Hi vnaga85,
You have to create Measures to achieve this.
I am sharing a pbix file here.
You will find the measure in that. Please check.
If you feel my answer is helped you. Please give me one Like(kudo) to my answer and accept as solution.
Hope this help you Nagarajan.
Regards,
Mehbub - India
- 8 years ago
Hi,
This formula will work
=COUNTROWS(FILTER(SUMMARIZE(Data,Data[Product],"ABCD",SUM(Data[Rewardamount]),"EFGH",SUM(Data[Bill amount])),[ABCD]>[EFGH]))
mehaboob557
8 years agoResolver III
Hi vnaga85,
You have to create Measures to achieve this.
I am sharing a pbix file here.
You will find the measure in that. Please check.
If you feel my answer is helped you. Please give me one Like(kudo) to my answer and accept as solution.
Hope this help you Nagarajan.
Regards,
Mehbub - India