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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DYY94
Helper I
Helper I

Subs a date with number

Hello Community, 

 

I want to do this calculation  : 

 

  • [Maturite] - [MR/365] : 24/11/2025 - 3

Capture 6.PNG

 

 

 

Expected Output : 

Capture 7.PNG

 

 

 

So i have created new table called Maturite Modifier in order to do this calculation but i had one issue, it give me always number  '1' for all colmun instead the real numbers from [MR/365]. 

 

[MR/365]:

 MR.PNG

Knowing that [MR/365] It's measure.

 

- This is the Output i have for now : 

Capture 8.PNG

 

Here a simplified pbix file to understand the issue. 


https://drive.google.com/file/d/1Y2eAmjcVyWDJozOTxEaNFXh3F9ZeNpmu/view?usp=sharing

 

Thanks. 

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi @DYY94 ,

Is the output field the same as the one you were expecting, seeing as the field types are not the same in your two images

 

Best Regards

Lucien

Hi @v-luwang-msft , 

 

Thanks for your reply ! 

 

Yes,  the output field the same as i expect, and the fileds type are the same: 

[Maturite] : Date type

[MR/365] : Number Type

Capture 7.PNG

 

 

 

You can check the file i shared to understand more the issue. 

https://drive.google.com/file/d/1Y2eAmjcVyWDJozOTxEaNFXh3F9ZeNpmu/view?usp=sharing

PS: i'm really stuck with this probleme in weeks and i couldn't resolve it.  I appreciate your help. 

Thanks. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.