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
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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors