Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Syndicate_Admin
Administrator
Administrator

Problems with Intelligence Measures Time

Good morning, I have a dashboard where I use the automatic YoY and MoM time intelligence measures. When I take part-time periods, that is, for example, the advance of the current month, the measures instead of comparing on the same partial period, compare on a closed month. For example, if I take from 08/01/2024 to 08/19/2024, it compares with the FULL month of August 2023 instead of the partial period. The same happens with the MoM, compare versus the FULL July month instead of the partial advance. Does anyone know how this can be solved?

I leave you with the automatic formula of the YoY:

YoY% of QUANTITY =
VAR __PREV_YEAR =
CALCULATE(
SUM('UNIBER_VTAPERDET'[Quantity]),
DATEADD('Table of dates'[Date], -1, YEAR)
)
RETURN
DIVIDE(SUM('UNIBER_VTAPERDET'[Quantity]) - __PREV_YEAR, __PREV_YEAR)
I hope you can help me!
1 REPLY 1
Anonymous
Not applicable

Hi @JosefinaMoneta ,

I am a little bit puzzled because I created my own test data for testing based on the DAX you provided, but I found that your DAX works perfectly fine, here are my test results:
Sample data:

vjunyantmsft_0-1724118356226.png

vjunyantmsft_1-1724118363658.png

Relationship:

vjunyantmsft_2-1724118384774.png


I use the same DAX as you provide:

vjunyantmsft_0-1724118924580.png


But the Output is right:

vjunyantmsft_3-1724118435438.png

 

((4+4+4+4)-(2+2+2+2))/(2+2+2+2)=100%

 

vjunyantmsft_4-1724118505994.png

 

((4+4+4+4+4)-(2+2+2+2+2+2+2))/(2+2+2+2+2+2+2)=42.857%

 


If you can, could you please provide us with your sample data, without it it is simply impossible to see which side has the problem with DAX alone.

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.