Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I'm struggling with this, despite trying numerous suggestions
These are my formulas so far
I've got a slicer in play on this page, so the user can expand their time period as necessary. Thanks
Thanks
Solved! Go to Solution.
so i believe i've found a solution, which, I stumbled upon by accident which was removing the .date
So changing this
Bookings LY (Bk date) = CALCULATE(BOOKINGS[Bookings],SAMEPERIODLASTYEAR('DATESBKGS&ENQS'[Dates-Bkg&Enq].[Date]))
to
Bookings LY (Bk date) = CALCULATE(BOOKINGS[Bookings],SAMEPERIODLASTYEAR('DATESBKGS&ENQS'[Dates-Bkg&Enq]))
Seem to work, I'm guessing it must have something to do with the time intelligence function, but thought i'd post for anyone else who may have a similar querey
so i believe i've found a solution, which, I stumbled upon by accident which was removing the .date
So changing this
Bookings LY (Bk date) = CALCULATE(BOOKINGS[Bookings],SAMEPERIODLASTYEAR('DATESBKGS&ENQS'[Dates-Bkg&Enq].[Date]))
to
Bookings LY (Bk date) = CALCULATE(BOOKINGS[Bookings],SAMEPERIODLASTYEAR('DATESBKGS&ENQS'[Dates-Bkg&Enq]))
Seem to work, I'm guessing it must have something to do with the time intelligence function, but thought i'd post for anyone else who may have a similar querey
Hello @LaurenceSD
You can simply create a measure as follows
Bookings CY = Calculate(DistinctCount(BookingsID),
)
Other Measures should be good
Did I answer your question? If Yes Please mark this as solution
Best Regards
Jay Patel
iXpert Analytics
Hi Jay,
That doesn't seem to work, seems to reproduce the current year for every single year
What I'm ideally trying to show is the year on year variation with year going across the top and months down the side. And what I've done so far works fine for dates in the past, I just can't seem to find a way of stopping Feb 21 being compared to Feb 20, because Feb 21 hasn't happened yet.
@LaurenceSD Seems like you need to add a check of something like IF([Date]>TODAY(),BLANK(),...)
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...
@Greg_Deckler Yeah that was my thinking as well, I tried
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 46 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 31 | |
| 28 | |
| 24 |