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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Table doesn't show data but shows total

Hi!

I need some help with a table in Power BI.

Capture_powerbi.PNG

This is my table, and I do not understand why for 'Total depreciation USD Last year' I don't get the values, but I do get the right total amount.

Measures used:

Total Depreciation USD = sum(Depreciation[AmountUSD])
Total depreciation USD last year = CALCULATE([Total Depreciation USD], SAMEPERIODLASTYEAR(Depreciation[Date]))
Year over year = [Total Depreciation USD]-[Total depreciation USD last year]
 
Any help will be appreciated!
Thank you
 
Belen

 

1 REPLY 1
Payeras_BI
Solution Sage
Solution Sage

Hi @Anonymous ,

This is because you are slicing by Year and Month coming from your Date table but in your "Total depreciation USD last year" measure you are using Depreciation[Date].

Use this instead:

Total depreciation USD last year = CALCULATE([Total Depreciation USD], SAMEPERIODLASTYEAR(Date[Date]))

 

If this post answered your question, please mark it as a solution to help other users find useful content.
Kudos are another nice way to acknowledge those who tried to help you.

J. Payeras
Mallorca, Spain

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors