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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
kishore23348
Frequent Visitor

Need similar calc in power BI

Have some calc in tableau , need similar function to get desired result using power BI DAX

 

{ FIXED [Customer Number],[Segment]:MAX(IF [Region] in ('East') then ([Sales]) END)}

 

 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @kishore23348 ,

It may look like this in Power BI DAX by creating a measure:

A =
CALCULATE (
    MAX ( 'table'[Sales] ),
    ALLEXCEPT ( 'table', 'table'[Segment], 'table'[Customer Number] ),
    'table'[Region] = 'East'
)

Refer:

Tableau LODs converted into Power BI Dax – Part 1 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
v-yingjl
Community Support
Community Support

Hi @kishore23348 ,

It may look like this in Power BI DAX by creating a measure:

A =
CALCULATE (
    MAX ( 'table'[Sales] ),
    ALLEXCEPT ( 'table', 'table'[Segment], 'table'[Customer Number] ),
    'table'[Region] = 'East'
)

Refer:

Tableau LODs converted into Power BI Dax – Part 1 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

AilleryO
Memorable Member
Memorable Member

Hi,

It would help us if you could explain what the formula does in Tableau.

I think that the FIXED at the beginning is to keep the filter on Cust numb and Segment ?

If it is the case an "equivalent" in DAX would be KEEPFILTERS(Cust Number, Segment).

 

It seems as weel that you have a FILTER(Region="East"), but I don't know Tableau enough to tell you more.

You have that thread as weel thta might help you :

https://community.powerbi.com/t5/Desktop/From-Tableau-to-PowerBI-DAX/m-p/388778

 

Hope it gets you on the track

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.