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 September 15. Request your voucher.
Hi everyone,
I'm trying to calculate no of orders with first order date within the last 24 months. I have a model that looks like this.
I'm trying to achieve this.
Normally, the formula below works for me. It seems due to the modelling and some filter context that I have not been able to figure out, it is not grouping the items properly.
@ejones_2525 - I would attach this by using FILTER to get a virtual table in a VAR and then use MINX to grab the first date.
You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
Hi @Greg_Deckler
I tried your documentation in the links you sent, however it didn't work for me unfortunately
thanks again for the reply
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |