cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
earthoer
Frequent Visitor

problem with relation between table (newbie)

Screenshot 2022-06-27 112613.png

i have relation like these. In table projectdata I canuse related to salesName but I cannot  use related  to projectsubdata (I try to typing but it show nothing )

 

And second problem  

earthoer_0-1656304127544.png

if I related to userdata- sales it can related but show nothing.

thank

2 REPLIES 2
ALLUREAN
Super User
Super User

Hi, @earthoer 

You need to follow the star schema or snowflake schema in your data model. In your case you probably have more than 1 fact tables. In order to get correct results it is good to follow it. You can use LOOKUPVALUE instead of RELATED but this will not be a solution and maybe will cause some issues with data.




Did I answer your question? Mark my post as a solution!


https://allure-analytics.com/
https://www.youtube.com/channel/UCndD_QZVNB_JWYLEmP6KrpA
https://www.linkedin.com/company/77757292/

Proud to be a Super User!




amitchandak
Super User
Super User

@earthoer , Based on what I got. Related can only be used from 1 side to many side. You can create new column on Many side .

 

You can try relatedtable for 1 side

example

sumx(relatedtable(projectData]),[Est Fee])

 

refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Helpful resources

Announcements
T-Shirt Design Challenge 2023

Power BI T-Shirt Design Challenge 2023

Submit your creative T-shirt design ideas starting March 7 through March 21, 2023.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors