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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
Humberto_Junior
New Member

Display the MAX value for each model

Heey, I wanted to display by graph the max values for each model of printers because each printers have your max capacity to print but actually is showing the one max value of them.

How I can do that?

 

Humberto_Junior_0-1707160059721.png

Humberto_Junior_1-1707160328927.png

 

Humberto_Junior_3-1707160377105.png

 

 

1 ACCEPTED SOLUTION
sayaliredij
Super User
Super User

HI @Humberto_Junior 

 

It would be beneficial to see how your data looks but i would imagine DAX would look like below

Measure =
MAXX (
    SUMMARIZE (
        Table_name,
        Table_name[Model],
        "MAX_Cap", MAX(Table_name[Capacity])
        ),
    [MAX_Cap]
)

Thanks and Regards,

 

Sayali

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful!! 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
sayaliredij
Super User
Super User

Hi @Humberto_Junior 

 

Its just measure name for maximum capacity

 

Thanks and Regards,

 

Sayali

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful!! 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hey, @sayaliredij !

Sorry for the delay, I was on vacation. So, I tried here and I haven't succeeded here yet. 😪
How do I share the .pbix with you?

sayaliredij
Super User
Super User

HI @Humberto_Junior 

 

It would be beneficial to see how your data looks but i would imagine DAX would look like below

Measure =
MAXX (
    SUMMARIZE (
        Table_name,
        Table_name[Model],
        "MAX_Cap", MAX(Table_name[Capacity])
        ),
    [MAX_Cap]
)

Thanks and Regards,

 

Sayali

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful!! 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




THANKS!!!

Finally I did it!

Humberto_Junior_0-1708613996772.png

 

DAX: 

MAX CAPACIDADE CADA MODELO = MAXX(SUMMARIZE('Demonstrativos RICOH', 'Demonstrativos RICOH'[MODELO], "MAX CAPACIDADE VOLUME", MAX('Impressoras GAB'[CAPACIDADE VOLUME (VIDA ÚTIL)])), [MAX CAPACIDADE VOLUME])

Hey, @sayaliredij !

What's the "MAX_Cap" ??

Humberto_Junior_0-1707162419740.png

Example of data:

SERIALMODELMAX CAPACITY
3080R10IM C2000900000
3082R40IM C2000900000
3082RA0IM C2100800000
3090RC0IM C2500650000

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.