Forum

conditional filter
 
Notifications
Clear all

conditional filter

7 Posts
3 Users
0 Reactions
143 Views
(@cdu)
Posts: 12
Eminent Member
Topic starter
 

hi,

in attached file, there is a simple filter applied on % of Quota >= 75%. i would like to change it to,

if the Business Group Area is GSMB - Sales Group or EMEA - Germany, filter % of Quota >=25%

for the rest of Business Group Areas, filter % of Quota >=75%

and i'm struggling on how to acheive that. can you pls help to have a look. thanks

 
Posted : 09/07/2021 12:02 am
(@mynda)
Posts: 4761
Member Admin
 

Please try uploading the file again. Be sure to click the 'start upload' button and wait until there is a check mark beside the file before submitting your reply.

 
Posted : 09/07/2021 3:18 am
(@catalinb)
Posts: 1937
Member Admin
 

Hi Chen,

You can use this calculated column in Opportunity table:

Filter Quota = IF(AND(OR(RELATED(Compensate[Business Group Area])="GSMB - Sales Group", RELATED(Compensate[Business Group Area])="EMEA - Germany"),
Opportunity[% of Quota]>=0.25),1,if(Opportunity[% of Quota]>=0.75,1,0))

 

This column will contain only 1 or 0, you can use this as a filter to display only 1 values.

 
Posted : 09/07/2021 11:43 pm
(@cdu)
Posts: 12
Eminent Member
Topic starter
 

many thanks. this solved my issue. may i have 2 more questions pls,

1, is there a handy website/document that starters like me could use to look for such solution?

2, i would like to remove this topic as the attachement contains sensitive information. how do i do this?

thanks,

 
Posted : 10/07/2021 1:33 am
(@catalinb)
Posts: 1937
Member Admin
 

Hi Chen,

These are custom solutions, not really generic solutions that can be found in standard documentation.

Custom solutions requires usually a strong knowledge of the data model and PBI. In this case, the formula is very close to an excel formula, just like in excel, ingeniosity comes with experience, you'll be there soon if you keep on trying.

Attachment removed. (please attach only sample anonymized data, not real data)

 
Posted : 10/07/2021 1:50 am
(@cdu)
Posts: 12
Eminent Member
Topic starter
 

thank you Catalin

 
Posted : 10/07/2021 2:00 am
(@cdu)
Posts: 12
Eminent Member
Topic starter
 

can you pls help to remove the picture that you attached as part ofthe solution, it contains real data as well. thank you

 
Posted : 10/07/2021 2:02 am
Share: