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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
snow87
Helper I
Helper I

If there are multiple values, which do reports use?

I have data like this:

 

idreciperun
001blue1
002green1
003red1
001green2
002green2

 

How does PowerBI handle id 001? Will a report use blue or green for the recipe? Or will it double count? I need to be able to get results by recipe, but sometimes the recipe changes between runs.

(I'm sure this has been asked before, but I have no idea what search terms to use.)

1 ACCEPTED SOLUTION

6 REPLIES 6
snow87
Helper I
Helper I

Let's say I have another table with color grades.

idcolor grades
001A
002A
003B

 

If I want to count how many As the green recipe produced - will it be one or two? Will blue be zero or one?

 

Thanks.

we're getting into the discussion of table relationships. Which of your tables is "fact"  and which is "dimension"  ?  Is there a 1-to-many  relationship, or a many-to-many relationship?

The first table, with the recipes and the runs is fact, and the second table with the color grades is dimension, but this is my first time doing this so they might not be set up as strictly as a professional would. They have a many-to-one relationship. (The ids appear multiple times in the first table, and once in the second table.)

lbendlin_0-1655135921252.png

see attached

Thank you! I think I see how they count now.

lbendlin
Super User
Super User

It depends on which aggregation you use.  MIN/MAX/SELECTEDVALUE etc.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors