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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ascott
Frequent Visitor

Distinct Assets with MAX and MIN Utilization in a new Table Summarized

I am trying to create a new table from an existing table with Distinct Unique ID's that shows the MAX Utilization & MIN Utilization of each ID. 

 

The new table should have only 2 entries for each ID and the MAX Utilization & MIN Utilization of that ID

 

 

 

 

 Asset List.JPG

1 ACCEPTED SOLUTION
Phil_Seamark
Employee
Employee

Hi @ascott

 

If you create a calculated table in DAX you should be able to get what you need.

 

 

New Calculated Table = 
    SUMMARIZE (
        'YourTableName' , 
        [ID] ,
        "Max of Utilization" , MAX([Utilization]) ,
        "Mim of Utilization" , MIN([Utilization]) 
        )

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Phil_Seamark
Employee
Employee

Hi @ascott

 

If you create a calculated table in DAX you should be able to get what you need.

 

 

New Calculated Table = 
    SUMMARIZE (
        'YourTableName' , 
        [ID] ,
        "Max of Utilization" , MAX([Utilization]) ,
        "Mim of Utilization" , MIN([Utilization]) 
        )

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

I can't say how many times I tried to do that and it failed each time. I copied your code over mine and of course changed the table names and it works. 

Now to the finer details. I might hit you back with another question if I get stumped. 

Thanks for the quick repsonse to my question.

 

Regards,

Andy

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.