Forum Discussion

sambgv's avatar
sambgv
Helper I
2 years ago
Solved

Sums in Matrix

Hello, community My problem is pretty complex ( in my opinion at least 🙂 ) and due to data share compliance I may not post the whole model in the forum, but i'm going to try my best to explain ...
  • Daniel29195's avatar
    2 years ago

    sambgv 

     

    let me know if this works  for you .

     

    measure : 

    switch (

    true() , 

    isinscope( tablename[user] ) || isinscope( tablename[account] ) ,

    max(bookedtime (hours) , 

     

    sumx(

    summarize(

              tablename,

                table_name[account],

                table_name[account],

                table_name[bookedtime (hours)] 

    ), 

    table_name[bookedtime (hours)] 
    )

     

     


    let me know if this works for you !

     

     

     

     

    If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. I would appreciate hitting that kudos 👍🫡