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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Measure from 2 Different Tables

Hi all,

 

I wanted to create summary table to show the scores of each objective.

 

So at the moment, I have 3 tables:

Dimension table [Objectiveskey, Measure Name, Description, Department]

Fact table 1[Objectivekey, Datekey, score, target,...]

Fact table 2[Ojectivekey, Datekey, condition, confidence rating, ...]

 

So I was hoping to create a visual that shows,

Measure Name, Score/Condition, Target

 

But not sure what's the best approach and how to deal with this?

Tried merging the tables and creating a conditional column, but so far doesn't work.

Will a nested if measure suffice? Not sure how what commands is best though.

 

Many thanks

 

Matt

3 REPLIES 3
v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

Did I answer your question? If you can get the correct result, please accept as solution so that users with the same problem can find it quickly. If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

 

Best Regards,
Winniz

v-kkf-msft
Community Support
Community Support

Hi @Anonymous ,

You may create two measures:

_condition = 
CALCULATE(
    SUM('Fact table 2'[condition]),
    FILTER(
        ALL('Fact table 2'),
        'Fact table 2'[Objectivekey] = MAX('Dimension table'[Objectiveskey])
        && 'Fact table 2'[Datekey] = MAX('Fact table 1'[Datekey])
    )
)
score/condition = DIVIDE( MAX('Fact table 1'[score]), [_condition] )

v-kkf-msft_0-1616471983357.pngv-kkf-msft_1-1616472051243.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

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

lbendlin
Super User
Super User

Measures can work with data from different tables even if the tables are not connected in the data model. Please provide sample data in usable format (not as a picture) and show the expected outcome.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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