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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
MMadhusudhan
Frequent Visitor

SSAS MDX calculation to PowerBI DAX

I need to migrate MDX calculations (which we are using in SSAS Multidimentional mode.) Can you please help here to convert the same into DAX. Below is one of calculation in MDX. 

 

Measure = SUM(PeriodsToDate([Time_Period].[Time_Period].[Period],[Time_Period].[Time_Period].CurrentMember),[Measures].[Hrs_Act_Admin_POS])

 

In above MDX we have used PeriodsToDate function. PeriodsToDate: about this function https://www.tutorialgateway.org/mdx-periodstodate-function/

 

can you please help here to create DAX query

 

 

 

 

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @MMadhusudhan 

Sorry, I'm not familiar with MDX, can you show your sample data and expected result?

Also please see if this thread below is useful to you.

Converting MDX calculations to DAX ( Inventory ending balance) 

 

Best Regards,
Community Support Team _ Eason

Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

@MMadhusudhan - do you want have a look at the time intelligence related function on Time Intelligence - DAX Guide   There are also helpful video explaining these functions.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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