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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Adding column from different table to fact table while using a measure isn't working properly

Hi there,  I'm new to power BI and I am having an issue when adding a column to a table linked my fact table while my caculated measure is being used. The measure works fine until I do this, and using this linked tables works fine until I use the measure.  I've searched around the last few days trying to solve it myself and trying to find a solution but am unable to find anything. Does anyone have a solution or can they point me in the right direction? 

 

edit:  The values that read "PId" should be PersonId and are not a PK. Person 1 and 2 are views if that helps.

The Dax Query is

Max Rank = VAR inMax =CALCULATE(MIN(MFact[Rank]), ALLEXCEPT((MFact),MFact[MId] ))

RETURN
IF(inMax= CALCULATE(MIN(MFact[Rank])),1,0 )

Thanks

It works when just using columns from MFactIt works when just using columns from MFactIt doesn't work properly when I add a  column from "Person1" or "Person2"It doesn't work properly when I add a column from "Person1" or "Person2"Mfact.pngperson2.pngperson1.png

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may Use performance analyzer in Power BI Desktop to check query and take a look at SUMMARIZECOLUMNS.

Community Support Team _ Sam Zha
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-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may Use performance analyzer in Power BI Desktop to check query and take a look at SUMMARIZECOLUMNS.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

I just realised my DAX Query wasn't added to the post. I had to mask a lot of these tables.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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