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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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