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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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.

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.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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