Forum Discussion
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
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.
2 Replies
- amitchandakSuper User
jmcph , dates you are taking from the calendar table?
Can you share a sample pbix after removing sensitive data.
- v-janeyg-msftCommunity Support
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.