Forum Discussion

jmcph's avatar
jmcph
Helper III
5 years ago
Solved

Slicing Dates problem

Hi Everyone, I have a problem with my date slicers, here is my model:      I have computed for the Amount for both Order and AP table (With common PO#) , using this function  = Calculate( ...
  • v-janeyg-msft's avatar
    5 years ago

    Hi, jmcph 

     

    It’s my pleasure to answer for you.

    According to your description,I think you can try ’allselected’ in your formula when you use a slicer.

    Like this:

    Calculate( Amount ,

    Treatas( Summarize ( Allselected(Orders), Orders[PO #] ) , AP[PO #] )) 

    If it doesn’t solve your problem, please feel free to ask me.

     

    Best Regards

    Janey Guo

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.