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
Quinn92
Regular Visitor

DateDiff in Measure

Hi - I'm trying to evaluate the number of days between the Today() function and several date data points in my dataset using the DateDiff.

 

I'm unable to select these data points however when using a measure, as my data is a SSIS connection adding calculated columns isn't an option (I'd be delighted if someone corrected me on this)

 

Is there any known workaround for this issue? I'd be open to making changes on the server side for the dataset if that would help.

 

Many Thanks,

Maurice

2 REPLIES 2
v-huizhn-msft
Employee
Employee

Hi @Quinn92,

SSIS is a platform for building enterprise-level data integration and data transformations solutions. Your resource data must be stored in database or other places, If you want to do it in Power BI, you need to upload the data into Power BI by "Get Date" function, please review this article. Then you can create a calculated column usinng DateDiff function.

If you want to get days between the Today() function and several date data points in your SSIS platform, you'd better post your thread to SSIS forum, I am not specific for SSIS, you can get professional support there.

Thanks,
Angelia

vanessafvg
Super User
Super User

@Quinn92 you mean ssas?

 

in a live connection as far as i know you can't do this as its expected your data is modelled in the source, so thats the way to do it.





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




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.