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
Mahadevaraobc
Helper II
Helper II

Display new Value...

Hi All,

 

I have a dataset with 2 columns,

1 - Region (LA and NA)

2- Country.

I would like to display this in a line chart where 

1st visual should have 3 values AMS, LA and NA (AMS should have value of LA and NA).

2nd drill down, if LA is selected it should display all LA countries, if NA selected it should display USA and Canada.

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Mahadevaraobc ,

 

I created a sample for your reference.. If it doesn't meet your requirement, please share your sample data and excepted result to me if you don't have any Confidential Information.Please upload your files to One Drive and share the link here.

 

1. Create a calculated table as a slicer table.

 

filter = VALUES(Table1[Region])

2. Create a measure as below.

 

Measure = 
VAR sele =
    SELECTEDVALUE ( 'filter'[Region] )
RETURN
    IF (
        sele = "LA",
        CALCULATE ( SUM ( Table1[values] ), FILTER ( Table1, Table1[Region] = sele ) ),
        CALCULATE ( SUM ( Table1[values] ) )
    )

Capture.PNG

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

This answers small portion of my question.

How can i combine values of LA and NA and show that in a line chart with values of LA, NA and Combined.

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.