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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
rishari
Frequent Visitor

SAP BO to DAX

Hello there, can someone help me to translate this SAP BOBJ query to DAX.

Variable A = Sum(Round(Count ([S_ID] ) Where ([ID]<>"X" And ([Var o]-[Var i])>0);0) ForEach([S_UID4];[S_ID]))

Please provide me an optimized DAX measure. I'm new to DAX, Kindly help me.

 

Appreciate your effort and time to help me.

 

Thanks in advance.

@Vvelarde @olgad @v-jiascu-msft 
 

1 ACCEPTED SOLUTION
Kishore_KVN
Super User
Super User

A = Calculate(Sum(Round(Count([S_ID]))),Filter(Table, [ID]<> "X" && ([Var o]-[Var i])>0),
ALLEXCEPT([S_UID4]))

 

As per my understanding of the columns I have written this. You may need to modify as per your table and column names. 

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

View solution in original post

1 REPLY 1
Kishore_KVN
Super User
Super User

A = Calculate(Sum(Round(Count([S_ID]))),Filter(Table, [ID]<> "X" && ([Var o]-[Var i])>0),
ALLEXCEPT([S_UID4]))

 

As per my understanding of the columns I have written this. You may need to modify as per your table and column names. 

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors