The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
Happy New Year to All..!
I am trying to build a DAX Measure which can give the MIN & MAX Date for the selected period - for every row of the transaction table. Meaning If I select period Sept. to Nov. 2019 - the MIN Date for all the transactions falling in that period should be Sept. 01st, 2019 & the MAX date should be Nov. 30th, 2019.
I tried this formula, which works only till I do not select any other filter, but as soon as any new filter / slicer is selected, there are different values for each row.
@Anonymous , for that better, create date table join with the date of Table1.
Try measure like
minx(allselected('Date'), 'Date'[Date])
maxx(allselected('Date'), 'Date'[Date])
Hello @amitchandak ,
Thanks for your prompt reply.
I did as you mentioned, but when I used it in my required calculation - it is not yielding any output.
I am trying:
User | Count |
---|---|
12 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
24 | |
14 | |
14 | |
9 | |
7 |