Forum Discussion
Aggregating measure based on dates
- 8 years ago
If you look at the PBIX file I loaded, I add both.
The first is a calculated column to the 4 column table
Within Terms = IF('Table1'[Overdue]=0,"Y","N")
I think I have it,
This basic measure sounds like it does the trick. I have attached a sample PBIX
Measure = MIN('Table1'[Within Terms])Hi Phil - apologies, I haven't been clear. The last 2 cols in my example are not in the source data. The boxed column ('Within Terms @ customer level') is the result I am trying to get whereas the column 'Within Terms' is the result I am getting at present. Thx again.
- Phil_Seamark8 years agoMicrosoft Employee
If you look at the PBIX file I loaded, I add both.
The first is a calculated column to the 4 column table
Within Terms = IF('Table1'[Overdue]=0,"Y","N")- meski8 years agoFrequent Visitor
Thanks Phil - works well. Am npw trying to get a count of how many customers meet this criteria within a period or within a division which I can do but am having issues with getting the count to work at Grand Total level. In this eg the total should be 1 (ie Cust B). Thanks again in advance.