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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors