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
asmagh
Helper I
Helper I

compare a measure in 2 different period

hello , please i need a help . i'm trying to compare a measure in 2 different period so i create 2 date table and 2 measure  and each measure is related with a  date table :

tauxMargePer1 = Calculate (([Rentabilité]); ALL(Dm_temps[Date]))

tauxMargePer2 = Calculate (([Rentabilité]); ALL('Dm_temps (2)'[Date]))

but it doesn't work. any idea .

thank's

 

1 REPLY 1
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @asmagh,

 

Could you be more precisely with requirement by posting your table structures(including the table relationships and the measures you're using) with some sample/mock data, and the expected result? So that we can better assist on this issue. It's even better to share a sample pbix file which can reproduce the issue. You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploadingSmiley Happy

 

Regards

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.