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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
MilanAXVII
Helper I
Helper I

related column

Hi,

 

I have two tables which are linked by one column

for each colum(merged 1) I have one time

One the other table I have all merged 1, but sometimes there are many merged 1 which are similar.

 

when i do "related" function to put time from new table to timbratura, i have for the merged which are similar, the sum of time of this type of merged

 

How can I have a column without sum?

related merged.PNGi want.PNG

I would like a 0 on the second (or third in other case) similar merged 1 or if its possible, divide the time corresponding to merged 1 by the number of time that i can find the same merged 1

 

 

i dont know if am i clear, but i need help.

 

thanks 🙂

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

@MilanAXVII

 

Try this

 

=
DIVIDE (
    RELATED ( NewTable[time] ),
    CALCULATE (
        COUNTROWS ( timbratura ),
        ALLEXCEPT ( timbratura, timbratura[merged1] )
    )
)

View solution in original post

1 REPLY 1
Zubair_Muhammad
Community Champion
Community Champion

@MilanAXVII

 

Try this

 

=
DIVIDE (
    RELATED ( NewTable[time] ),
    CALCULATE (
        COUNTROWS ( timbratura ),
        ALLEXCEPT ( timbratura, timbratura[merged1] )
    )
)

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.