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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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 Tableau Calculation to DAX in Power BI. Needed help in this.

 

Current Fiscal Quarter +1 = IF ENDSWITH([Current Fiscal Quarter],'4') THEN str(INT(left([Current Fiscal Quarter],4))+1) +'-Q'+'1'
ELSE str(INT(left([Current Fiscal Quarter],4)) ) +'-Q'+ str(INT(RIGHT([Current Fiscal Quarter],1))+1)
END

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@Anonymous Here's a guess:

Current Fiscal Quarter +1 = 
  IF RIGHT([Current Fiscal Quarter],1) = "4"),
  (INT(LEFT([Current Fiscal Quarter],4))+1) & "-Q" & "1",
  LEFT([Current Fiscal Quarter],4) & "-Q" & (INT(RIGHT([Current Fiscal Quarter],1))+1)

Just a guess though, would need sample data and expected output to be sure...



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Thank You

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.