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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.