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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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