Forum Discussion

LaMatt's avatar
LaMatt
Advocate II
2 years ago
Solved

Visualizing data from different fact tables with different granularity in the same list visual

Hi there,   As the title suggests, I have two facts tables with different granularity, as indicated in the picture below. I would like to visualize the data from both fact tables while using attrib...
  • Daniel29195's avatar
    2 years ago

    LaMatt 

     

    i would suggest to use a matrix .

     

    then in your measure you can use the isinscope function to control the calculation per each level . 

     

     

    NB :  when using isinscope , always start with the lowest level to the highst . example below : 

     

     

     

    matrix :  product category -->  product

     

    measure = 

    switch(true() , 

    isinscope(tbl_name[prodcut]) , calculation_1 , 

    isinscope ( tbl_name[product category) ,  calculation_2 
    )

     

     

    in your example, you can set, that if isinscope( dim_manufacturer[name] , to return blank() -->  for budget . 

     

    let me know if this helps .

     

     

     

    If my answer helped sort things out for you, i would appreciate a thumbs up πŸ‘ and mark it as the solution βœ…
    It makes a difference and might help someone else too. Thanks for spreading the good vibes! πŸ€