Forum Discussion

Humberto_Junior's avatar
Humberto_Junior
New Member
2 years ago
Solved

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?

 

 

 

 

  • 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!! 

5 Replies

  • 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!! 

    • Humberto_Junior's avatar
      Humberto_Junior
      New Member

      Hey, sayaliredij !

      What's the "MAX_Cap" ??

      Example of data:

      SERIALMODELMAX CAPACITY
      3080R10IM C2000900000
      3082R40IM C2000900000
      3082RA0IM C2100800000
      3090RC0IM C2500650000
    • Humberto_Junior's avatar
      Humberto_Junior
      New Member

      THANKS!!!

      Finally I did it!

       

      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])
  • 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!! 

    • Humberto_Junior's avatar
      Humberto_Junior
      New Member

      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?