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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Justair07
Resolver I
Resolver I

Redundant Data in Table

Hello,

 

I can't figure out why my fields are redundant when I go from 3 fields to 2 fields (see pictures).

 

kpitest.jpgkpitest2.jpg

 

I also included a picture of my relationships in case that is one of the potential reasons:

 

relationships.JPG

 

The KPI Test fiels is a custom field as well:

KPI Test = 
VAR Down =
    UNICHAR ( 11167 )
VAR UP =
    UNICHAR ( 11165 )
RETURN
    IF ( [Daily DPMU] < 490, Down, UP ) & " "
        & FORMAT ( [Daily DPMU], "0" )
2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Justair07,

 

That should be the issue of your relationships between tables. Did you create your measurs [Daily DPMU] and [Daily DPMU] based on different tables? Could you please share your sample data and excepted result to me if you don't have any Confidential Information.Please upload your files to One Drive and share the link here.

 

Regards,

Frank

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

@v-frfei-msft Hi and thank you for the reply. I wish I could share but the data is pretty confidential. But to answer your question, yes Daily DPMU is a custom measure that calculates DPMU (very common metric in manufaturing busnisess) for the previous workday:

Daily DPMU = 
IFERROR (
    CALCULATE (
        ( SUM ( tblKPIData[Footage Returned] ) / SUM ( tblKPIData[Footage Shipped] ) ) * 1000000,
        tblDates[Date]
            = IF (
                WEEKDAY ( TODAY (), 3 ) < 4,
                TODAY () - 1,
                TODAY ()
                    - ( 7 + WEEKDAY ( TODAY (), 3 ) )
            )
    ),
    ""
)

All refrenced fields are from the same table (tblKPIData). This makes me think it's not a relationship issue.

 

When I changed the KPI Test from a custom COLUMN to a custom MEASURE, that seems to have fixed the issue. Does this makes sense?

Helpful resources

Announcements
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!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.