Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Issue in Measure total

Hi Team,

 

I am new to power bi, got a requirement like where i have to give points according to the percentage of their training completition. Like if India, have completed more than 50% in a given timeline (1/1/23 to 7/1/23) they should get 10 points, same i have to give bonus points if they have completed the training befor a timeline (for ex - 1/1/23 to 5/1/23). When i am filtering from HUB i am not getting the proper value ... what i want is the max of the value like in CSE there are 10 countries and in those 10 countries max point is 20 so in return need 20 but i am getting 0 because rest 8 countries has 0 points.  Attaching the image for better clarification. It's Urgent!!

MicrosoftTeams-image.png

 

Thanks in Advance !!

4 REPLIES 4
eliasayyy
Memorable Member
Memorable Member

hmm try  


now insert this measure in your table

Correct Total = IF(HASONEVALUE([COUNTRY]),[LMS] , SUMX(VALUES([COUNTRY]),[LMS]))
Anonymous
Not applicable

Hi Annonymous,

 

i used maxx instead of sumx it works for me. Thanks for giving hint.

Test = IF(HASONEVALUE(Hub_Mapping[Country ]),[LMS], MAXX(Hub_Mapping,[LMS]))

oh i see you wanted the max only happy to have able to help you havea  nice day

Anonymous
Not applicable

Hi Annonymous1999,

 

Thanks for the replying, but by using this measure i am getting the sum not the max value. Attaching screen shot for your reference.

MicrosoftTeams-image (1).png

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors