Forum Discussion
Dax
Hi I want to write a code in order to sum the value of demand if the facility name is same for a particular date.
Is this possible? Please let me know
Hi Anonymous ,
How about using "ALLEXCEPT('Table'[facility])" or "Filter(ALLSELECTED('Table'),'Table'[facility]=MAX('Table'[facility]))" in your Measure expression as a filter?
If this doesn't work, please share us some sample data.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 Replies
- Pragati11
Super User
Hi Anonymous ,
Can you paste some sample data and then detail your requirement?
Thanks,
Pragati
- amitchandak
Super User
Anonymous ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Appreciate your Kudos. - Icey
Community Support
Hi Anonymous ,
How about using "ALLEXCEPT('Table'[facility])" or "Filter(ALLSELECTED('Table'),'Table'[facility]=MAX('Table'[facility]))" in your Measure expression as a filter?
If this doesn't work, please share us some sample data.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.