cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ignas Member
Member

Exclude values that are selected

Hey there,

 

I really need a bit help. I have a scatterplot which has Cost and Revenue.

Using slicer I need to filter out all GM values.

Ex. if slicer is selected from 3 to 5. Then all GM values from 3 to 5 should not be seen in the graph. 

 

Capture.PNG

 

 

Here is the file: https://mega.nz/#!DrJnXazJ!st7Rc_xYXhKVli6K2Sw4iUJD-9gaECOBoG8JG_zp9MI

 

Thanks a lot for the help

 

Regards,

 

Ignas

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support Team
Community Support Team

Re: Exclude values that are selected

Hi @ignas

Create a new table which is not connect to your table

Table = SUMMARIZE('fact','fact'[GM])

then create measures

min = MIN('Table'[GM])

max = MAX('Table'[GM])

flag = IF(MAX('fact'[GM])<=[max]&&MAX('fact'[GM])>=[min],1,0)

11.png

 

Best Reagrds

Maggie

View solution in original post

Community Support Team
Community Support Team

Re: Exclude values that are selected

Hi @ignas

I don't see [year] column in your pbix.

If "SUMMARIZE only those lines that have column Year FY" refers to the new created table.

You could try this formula

Table=SUMMARIZE(FILTER('fact',[year]="FY"),'fact'[GM])

Best Regards

Maggie

View solution in original post

4 REPLIES 4
Community Support Team
Community Support Team

Re: Exclude values that are selected

Hi @ignas

Create a new table which is not connect to your table

Table = SUMMARIZE('fact','fact'[GM])

then create measures

min = MIN('Table'[GM])

max = MAX('Table'[GM])

flag = IF(MAX('fact'[GM])<=[max]&&MAX('fact'[GM])>=[min],1,0)

11.png

 

Best Reagrds

Maggie

View solution in original post

Highlighted
ignas Member
Member

Re: Exclude values that are selected

Hello @v-juanli-msft
It is an amazing solution.

 

I just have one more thing that I cannot make it working.

 

I need to SUMMARIZE only those lines that have column Year FY.

 

I cannot find any solution how I could include filter.Capture.PNG

 

 

Link to the file: https://mega.nz/#!y6Z0TA5D!pbwZSsFrIdjiGvVXQ0cBxjHQ_KRto9GO4p7E3sTNrpU

 

Thanks a lot for helping

 

Regards,

 

Ignas

 

 

 

Community Support Team
Community Support Team

Re: Exclude values that are selected

Hi @ignas

I don't see [year] column in your pbix.

If "SUMMARIZE only those lines that have column Year FY" refers to the new created table.

You could try this formula

Table=SUMMARIZE(FILTER('fact',[year]="FY"),'fact'[GM])

Best Regards

Maggie

View solution in original post

ignas Member
Member

Re: Exclude values that are selected

Hey Maggie

 

You are amazing. It really works. I tried with Filter but I did something wrong.


Regards,

 

Ignas

 

 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 109 members 1,392 guests
Please welcome our newest community members: