Forum Discussion
URGENT - dax function not working
Hi, xiumi_hou
Thank you for your message.
In this case, I think the approach has to be made in a little bit different way.
I can write based on this case only. My measure might not be appropriate if there are any other related tables to this case.
- do not activate any relationships between date-table and case-table. All relationships have to be inactive.
Please check the below if I correctly understand your request, and please let me know.
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Thanks Jihwan_Kim The below query can return the result. The only thing is I have active relationship built for case table(assigned date) with the date table (date). - This can not be removed since a lots of other querys are based on this. Do I need to made any changes?
- Angith_Nair5 years ago
Continued Contributor
Hi xiumi_hou ,
Try with this code..
Activation before = CALCULATE ( DISTINCTCOUNT ( d_Cases[Id] ), d_Cases[Activation_date_c] <= MIN ( d_date[Column_date] ), CROSSFILTER ( 'case table'[assigned date], d_date[Date], NONE ), USERELATIONSHIP ( d_Cases[Activation_date_c], d_date[Date] ) ) - Jihwan_Kim5 years ago
Super User
Hi, xiumi_hou
Oh, in that case,
allselected or all function can help to remove filters in only that particular DAX measure.