Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
This is symptomatic of a general problem with current time intelligence functions not performing properly in PBI. The LY calculation is showing in the visual and not in the table. WHY??
Something has also happened in general to time intelligence functions as I cannot get simple moving averages calculations to work.
This variable will work properly in a countrows( _period ) calculation producing the corrrect number of rows in a 3 month period.
@KBNZ ,
You’re not imagining things — what you’re seeing is a real and explainable shift in how Power BI evaluates measures, especially after Visual Calculations and newer engine optimizations.
Let’s break this down calmly and correctly
=================================================================
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Jaywant Thorat | MCT | Data Analytics Coach
Linkedin: https://www.linkedin.com/in/jaywantthorat/
Join #MissionPowerBIBharat = https://shorturl.at/5ViW9
#MissionPowerBIBharat
LIVE with Jaywant Thorat from 10 Jan 2026
8 Days | 8 Sessions | 1 hr daily | 100% Free
Thank you for the reply.
The date table being used is very simple. The date column is being used in the LY calculation.
When applied to a table as in the original example the data is not appearing, yet it is appearing in the bar chart.
It is starting to do my head in to be honest. This use to be a very simple, reliable exercise that is now absorbing unecessary time.
Hi @KBNZ
In your case Why LY works in chart but NOT in table :
can you try the below steps :
1.In the table visual, add: Date[Date] or Date[YearMonth]
2.Do NOT use the fact table date column.
3.Ensure relationship: Date[Date] → Fact[Date] One-to-many, Active, Single direction.
4.Use this LY measure:
LY :=
CALCULATE (
[Measure],
DATEADD ( 'Date'[Date], -1, YEAR )
)
Hope this helps !!
Thank You.
Thank you, appreciate you looking at this. Unfortunately it is still not working. Please see below. The table is selected and the fields being used can be seen on the right.
Hi @KBNZ
Thank you for your continued efforts in troubleshooting this issue. Since we have explored multiple approaches and are still not achieving the expected outcome, I kindly recommend that you raise a support ticket with the Microsoft product team. They will be able to engage with you directly and provide further assistance to help resolve the problem effectively.
Hi,
Share the download link of the PBI file.
Hi @KBNZ
unable to open the file can you share the data as per the below format.
How to provide sample data in the Power BI Forum - Microsoft Fabric Community
do you have the year month column?
try to change the monthnumber to yearmonth
CALCULATE(
DISTINCTCOUNT( DimDate[YearMonth] ),
_period
)
if this does now work, pls provide some sample data and expected output.
Proud to be a Super User!
Thank you, tried this and it didnt work.
Hi @KBNZ ,
in your table you calculate the LY revenue for year and month in your column chart you calculate LY revenue for different countries.
Hi Thanks for the interest. The calculation works when the date range is swapped out for country in the table.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 25 |