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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
Anonymous
Not applicable

Values showing redundant

i'm newbie using table matrix in power bi and created a dax measure for this value.  However, when i included in the matrix, it is showing redundancy.

 

rockdotnet_0-1676883359266.png

 

ICURevTest =
SUMX(
    FILTER(
        'Doctor Room&Board',
        'Doctor Room&Board'[SageCode] IN {"43-092-172","43-052-172","43-092-170"}      
        ),
'Doctor Room&Board'[DR_Net_Amt]  + 'Doctor Room&Board'[IR_Net_Amt])

 

by the way, Doctor Room&Board is another dataset and i just wanted to insert it in the table matrix column values

 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Are "AMD-DAMMAM", "KHOBAR", "RAKAH" from another table rather than 'Doctor Room&Board'? Are the Year and Month columns from another table? If columns in the matrix visual are from multiple tables, do they have any relationships between them? If there is no relationship between tables, the measure will be evaluated for every row value in the matrix as there is no filter passed through the relationships. You need to create a relationship between tables on a common column (I guess it may be [SageCode]?).

 

Beginner’s Guide to Relationships in Power BI – Curbal

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Are "AMD-DAMMAM", "KHOBAR", "RAKAH" from another table rather than 'Doctor Room&Board'? Are the Year and Month columns from another table? If columns in the matrix visual are from multiple tables, do they have any relationships between them? If there is no relationship between tables, the measure will be evaluated for every row value in the matrix as there is no filter passed through the relationships. You need to create a relationship between tables on a common column (I guess it may be [SageCode]?).

 

Beginner’s Guide to Relationships in Power BI – Curbal

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.