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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Guille2711410
Helper I
Helper I

DAX measures: operator with two tables

Hi, everyone

I have this measure that works very well, but I want to add calculation.

PenMdoRec = ROUND(SUMX(SUMMARIZE(COMTO20,COMTO20[CTAUNICA]),

                                 CALCULATE(MAX(COMTO20[RECNROTRN]),

                                  ALLEXCEPT(COMTO20,COMTO20[CTAUNICA]))) / 11,2)

To this result I want to divide it by the TOTAL field of another table called SUNEDU and get the desired value.

Both tables (COMTO20 and SUNEDU) are related by the UNIVERSITY field

I tried RELATED function and it doesn't work.

I will appreciate your help

Thank you

7 REPLIES 7
kentyler
Solution Sage
Solution Sage

Can you post a picture of your data schema ?





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


Hi Kentyler

If this one you want

 

I'm sorry

Attach the schema from Insert Photos, but you can´t see

Schema.jpg

It looks like RELATED should work. Can you share a small version of the power bi file ?





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


 Ok

I have a small version but I dont know attach the file PBIX

Please help me.

Thank

Ok

This is a small sample, the original table has more than 150 million of records with more than 40 fields.Small version.jpg

I'm sorry, that is an image.

Could you just copy and paste the data into the post, so I can copy and paste it into Power BI

Thanks

Ken Tyler





Did this post answer your question? Mark it as a solution so others can find it!

Help when you know. Ask when you don't!




Join the conversation at We Talk BI find out more about me at Slow BI


Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.