Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Guys,
Thanks in advance for attempting to solve my question.
I have data of invoice for each person for each month and would want to know how can i get the sum total of invoice for the particular person month wise.
For example, in the above table i would like to calculate the sum total for Christine Angelon for month of Jan,i.e., 0.44+1.71
And also want to calculate which User Name has the highest invoice for that particular month in graphical representation.
I believe it is more of Rank formula, if someone could explain the same would be great.
Thanks,
Nagesh
Solved! Go to Solution.
Hi @Anonymous
For requiremnets below:
calculate the sum total for Christine Angelon for month of Jan,i.e., 0.44+1.71
And also want to calculate which User Name has the highest invoice for that particular month in graphical representation.
create measures below
sum total = CALCULATE ( SUM ( Sheet2[Invoice] ), ALLEXCEPT ( Sheet2, Sheet2[Month], Sheet2[User name] ) ) rank = RANKX(ALLEXCEPT(Sheet2,Sheet2[Month]),[sum total],,DESC)
highest invoice= IF([rank]=1,CALCULATE(MIN([User name]),ALLEXCEPT(Sheet2,Sheet2[Month])),BLANK())
Best Regards
Maggie
Hi @Anonymous
For requiremnets below:
calculate the sum total for Christine Angelon for month of Jan,i.e., 0.44+1.71
And also want to calculate which User Name has the highest invoice for that particular month in graphical representation.
create measures below
sum total = CALCULATE ( SUM ( Sheet2[Invoice] ), ALLEXCEPT ( Sheet2, Sheet2[Month], Sheet2[User name] ) ) rank = RANKX(ALLEXCEPT(Sheet2,Sheet2[Month]),[sum total],,DESC)
highest invoice= IF([rank]=1,CALCULATE(MIN([User name]),ALLEXCEPT(Sheet2,Sheet2[Month])),BLANK())
Best Regards
Maggie
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |