Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric Ideas just got better! New features, better search, and direct team engagement. Learn more

am trying to create a measure in which i am trying to find the MAX date from a docdate column of a sql table i.e sales-transaction between

I am trying to create a measure in which i am trying to find the MAX date from a docdate column of a sql table i.e sales-transaction between 2 specific date ranges. Basically the table has sales transaction of all the distributors & their corresponding retailers. I need to find the distinct distributor & retailer codes based on the last transaction date or highest transaction date between specified dates. I tried creating measure but got lost while applying filters for date. Here is what i tried. Maxdocdate= calculate(max(docdate),docdate>=01-04-2016,docdate<=31-05-2016) can anybody enlighten me with some fruitful solution.
Status: Declined
Comments
chass
Impactful Individual
Hello Hemant, Please post question here: http://community.powerbi.com Thanks Chuck
fbcideas_migusr
New Member
Status changed to: Declined