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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Prathyusika
Frequent Visitor

calculated field in tableau to power Bi

How to convert below formula to power bi:

if ((0.5 * (zn([columnname]/0.8))) * 100) > 50 then 50 else
(0.5 * (zn([columnname]/0.8))) * 100 end

please help

2 REPLIES 2
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

try:

 

Column = IF(CALCULATE(0.5*sum('Table'[Column1])/0.8*100) > 50,50,CALCULATE(0.5*sum('Table'[Column1])/0.8*100))
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

If you need to account for blanks fields use:

 

Column = if(isblank(IF(CALCULATE(0.5*sum('Table'[Column1])/0.8*100) > 50,50,CALCULATE(0.5*sum('Table'[Column1])/0.8*100))),0,IF(CALCULATE(0.5*sum('Table'[Column1])/0.8*100) > 50,50,CALCULATE(0.5*sum('Table'[Column1])/0.8*100)))
 
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors