Forum Discussion
emmanuelkamara1
6 years agoHelper I
Need help please.
I am struggling to write a Dax function that returns the outstanding balance after doing some filtration. In the dataset below, I want to get the outstanding balance after doing this filtration (curr...
- 6 years ago
I believe the DAX should be something like:
Measure = VAR __Table = ADDCOLUMNS( 'Table', "Selector",(TODAY() - [registration_date_utc]) * 1. - [upfront_days_included] ) RETURN SUMX(FILTER(__Table,[Selector] >= 30),[Outstanding_balance])
emmanuelkamara1
6 years agoHelper I
Thanks Greg_Deckler , Works....I had to change the data-type .
Greg_Deckler
6 years agoCommunity Champion
Great!