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.
Hi All,
I need to do a kind of dateadd, adding the amount of months to specific date, but these two field are quick measure and I don`t know how to do it.
If someone please can help me on this:
Example:
Field 01: Last_Sales = LASTDATE(Billing[Date])
Field 02: Last_Qty = CALCULATE([DONE_QTY],FILTER(Invoicing,Billing[Date] = MAX(Billing[Date])))
Field 03 and 04 Next Buy and Next Buy Month/YEAR (I nedd help here I don`t know how to calculate)
Result:
01 Last_Sales 02 Last_Qty 03 Next_Buy 04Next Buy Month/YEAR
01/01/2022 10 Result expected: 01/11/2022 11/2022
Thanks.
Hi @crhisbergas
I tried to restore your scene, but failed. Could you please provide your PBIX file(remove sensitive info) ?
Hi @crhisbergas
Please note that Best Practice says one should never use Quick Measures. One should always create explicit measures, thus making one's life easier.
User | Count |
---|---|
10 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
20 | |
15 | |
14 | |
10 | |
7 |