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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.