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
ManeMan
Frequent Visitor

Slicer totaling ALL values on Pivot and not just what's selected

Greetings,

 

   I've been at this for a quick minute and I'm at a loss.  I have disconnected and reconnected the city hierarchy and when a city (Ex: Dallas) is selected, the total cost displays for all 3 cities but the total rev correctly displays just the city selected.

 

   The cities are named the same, connections have been reset several times, all slicers are connected to the table... 

 

   Anyone else seen this?

 

ManeMan_0-1675648895420.png

 

1 REPLY 1
v-rongtiep-msft
Community Support
Community Support

Hi @ManeMan ,

I have created a simple sample, please refer to it to see if it helps you.

Create 2 measures.

COSTMEASURE =
VAR _1 =
    SUMX (
        FILTER ( ALL ( 'Table' ), 'Table'[Division] IN VALUES ( 'Table'[Division] ) ),
        'Table'[COST]
    )
RETURN
    IF ( ISINSCOPE ( 'Table'[Division] ), MAX ( 'Table'[COST] ), _1 )
REVMEASURE =
VAR _1 =
    SUMX (
        FILTER ( ALL ( 'Table' ), 'Table'[Division] IN VALUES ( 'Table'[Division] ) ),
        'Table'[REV]
    )
RETURN
    IF ( ISINSCOPE ( 'Table'[Division] ), MAX ( 'Table'[REV] ), _1 )

vpollymsft_0-1675734247115.png

How to Get Your Question Answered Quickly 

 

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

 

Best Regards
Community Support Team _ Polly

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

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.

Top Solution Authors