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.
Each WO2 has multiple sequential station id's with checkoutdates. I need to only show the WO2's which have station id "1" in them. For this, I created DAX to show 1 if row has station 1 and 0 if it doesn't.
I want to sum the _hasid1 column and display as a column on right so that I can slicer the values that have sum(_hasid1)>0. But I keep getting random values when I sum it up.
Here is the code I used.
Appreciate any help.
Hi @smandadi
The Earlier function is mostly used in the context of calculated columns, not in mersure.
Reference post: Solved: EARLIER functionality in Measure - Microsoft Fabric Community
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Both are created as columns. I mistyped it as measure, I corrected it now.
User | Count |
---|---|
77 | |
77 | |
36 | |
30 | |
28 |
User | Count |
---|---|
106 | |
97 | |
55 | |
49 | |
46 |