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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Kudoed Authors