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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
gladies123
Helper I
Helper I

Reg - To display a value for once from multiple values

Hi,

 

 

I am facing an issue regarding different 3 customers mapping in a similar project and their revenue also same .....so the output has to display like revenue should display once  and othere revenues have to be diplayed as per different sub project. herewith i attached a image for your reference.

 

Thanks in AdvanceISSUE 1.PNG

 

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @gladies123 

Add a index column from power query, then create a measure

Measure 2 =
VAR lastindex =
    CALCULATE (
        MAX ( 'Table 3'[Index] ),
        ALLEXCEPT ( 'Table 3', 'Table 3'[Sub Project], 'Table 3'[Revenue] )
    )
RETURN
    CALCULATE (
        SUM ( 'Table 3'[Revenue] ),
        FILTER ( 'Table 3', 'Table 3'[Index] = lastindex )
    )

Capture3.JPG

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @gladies123 

Add a index column from power query, then create a measure

Measure 2 =
VAR lastindex =
    CALCULATE (
        MAX ( 'Table 3'[Index] ),
        ALLEXCEPT ( 'Table 3', 'Table 3'[Sub Project], 'Table 3'[Revenue] )
    )
RETURN
    CALCULATE (
        SUM ( 'Table 3'[Revenue] ),
        FILTER ( 'Table 3', 'Table 3'[Index] = lastindex )
    )

Capture3.JPG

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

mahoneypat
Microsoft Employee
Microsoft Employee

What is the logic to decide which Customer shows the value for the shared sub projects?

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Actually there is no logic  and no order in that either 1 customer has to display the value 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors