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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Cobra77
Post Patron
Post Patron

Show but dont sum it is possible ?

Hi,

 

tab_Ind.jpg

 

In column 1 , the data in the table but the total is false 55 000

In column 2 , the measure who filter on statut  = true , with the good Total but dont show values 5000 line 2 

In column 3 , if I have to take into account in the calculation

 

We want : 

line  1 : 50 000

line 2 : 5 000

Total : 50 000

 

An idea ?

 

Thanks

1 ACCEPTED SOLUTION

Hi @Cobra77,

 

I modify my formula to add if statement to only ignore summarize specific values on total level:

Measure =
IF (
    COUNTROWS ( Table ) <> COUNTROWS ( ALLSELECTED ( Table ) ),
    SUM ( Table[Amount] ),
    CALCULATE ( SUM ( Table[Amount] ), Table[Conditon] = "True" )
)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

HI @Cobra77,

 

You can use below measure to replace amount column to create visual:

Measure =
CALCULATE ( SUM ( TABLE[Amount] ), Table[Conditon] = "True" )

Regards,
Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi @v-shex-msft

its the measure ( column 2 ) your formule , but with this no show 5000 line 2

 

Regards,

Hi @Cobra77,

 

I modify my formula to add if statement to only ignore summarize specific values on total level:

Measure =
IF (
    COUNTROWS ( Table ) <> COUNTROWS ( ALLSELECTED ( Table ) ),
    SUM ( Table[Amount] ),
    CALCULATE ( SUM ( Table[Amount] ), Table[Conditon] = "True" )
)

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hi @v-shex-msft

 

Thanks , perfect 😉

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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