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
Anonymous
Not applicable

Tableau to Power BI

I am currently working on migrating Tableau Reports to Power BI. I am currently facing problems in converting the the Tableau Calculation to DAX in Power BI. Needed help in this.

The expression is: AGO(W_RENTAL_TRANS_F.TRANSACTION, W_MCAL_DAY_D.MCAL_YEAR,1)

What should the equivalent DAX Expression be?

W_RENTAL_TRANS_F  and W_MCAL_DAY_D are tables, TRANSACTION and MCAL_YEAR are columns

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

I'm not so sure what type of database are you worked with? Can you please share more about these? 

How to Get Your Question Answered Quickly

If you mean the previous date of the specified date range, you can take a look at the following link about time intelligence functions.

SAMEPERIODLASTYEAR function (DAX) - DAX | Microsoft Docs
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

3 REPLIES 3
v-shex-msft
Community Support
Community Support

Hi @Anonymous,

I'm not so sure what type of database are you worked with? Can you please share more about these? 

How to Get Your Question Answered Quickly

If you mean the previous date of the specified date range, you can take a look at the following link about time intelligence functions.

SAMEPERIODLASTYEAR function (DAX) - DAX | Microsoft Docs
Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

@v-shex-msft Thanks a lot. This DAX function helped me achieve what I want 

amitchandak
Super User
Super User

@Anonymous , what does AGO function do.

Can you explain what you want ?

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.