Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
peerasit_ary
Frequent Visitor

How to use 2 slicers or condition to display bubbles on Maps

Here is my data:

peerasit_ary_0-1717575531396.png

 

ProjectLatitudeLongtitudeType Price 
Project A13.914159789323909100.69400125670711Condo4,990,000
Project B13.902449675768354100.69371035405537Condo5,490,000
Project C13.88199821733605100.69399460182022SingleHouse7,990,000
Project D13.908562760435542100.69811584032662TownHome10,000,000
Project E13.950803439104265100.58534867128547SingleHouse13,800,000

 

I would like to use 2 slicer (1st is Price Between (User prefer between) / 2nd is Checkbox Type) like this

peerasit_ary_1-1717573868492.png

 

Expect result is Latitude and Longtitude to use with Maps like this

Please advise the solution please.

(The maps is mock up filters)

 

peerasit_ary_2-1717573928024.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @peerasit_ary ,

Based on my testing, please try the following methods again:

1.Create the simple tables.

vjiewumsft_0-1717644073767.png

vjiewumsft_1-1717644073767.png

vjiewumsft_2-1717644088635.png

2.Drag the price field into the slicer and drag the type field into the another slicer visual.

vjiewumsft_3-1717644100407.png

3.Create the new measure to filter the two slicers selected value.

two slicers condition = 
var min_price = MIN('Table price'[ Price ])
var max_price = MAX('Table price'[ Price ])
var typ_ = SELECTEDVALUE('Table type'[Type])
var pric_ = SELECTEDVALUE('Table'[ Price ])
var type_ = SELECTEDVALUE('Table'[Type])
RETURN
IF((pric_ >= min_price && pric_ <= max_price) || type_ = typ_, 1, 0)

4.Drag the measure into the Map visualFilters pane and set the show items is 1.

vjiewumsft_4-1717644108074.png

5.The result is shown below.

vjiewumsft_5-1717644126249.png

 

Best Regards,

Wisodm Wu

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @peerasit_ary ,

Based on my testing, please try the following methods again:

1.Create the simple tables.

vjiewumsft_0-1717644073767.png

vjiewumsft_1-1717644073767.png

vjiewumsft_2-1717644088635.png

2.Drag the price field into the slicer and drag the type field into the another slicer visual.

vjiewumsft_3-1717644100407.png

3.Create the new measure to filter the two slicers selected value.

two slicers condition = 
var min_price = MIN('Table price'[ Price ])
var max_price = MAX('Table price'[ Price ])
var typ_ = SELECTEDVALUE('Table type'[Type])
var pric_ = SELECTEDVALUE('Table'[ Price ])
var type_ = SELECTEDVALUE('Table'[Type])
RETURN
IF((pric_ >= min_price && pric_ <= max_price) || type_ = typ_, 1, 0)

4.Drag the measure into the Map visualFilters pane and set the show items is 1.

vjiewumsft_4-1717644108074.png

5.The result is shown below.

vjiewumsft_5-1717644126249.png

 

Best Regards,

Wisodm Wu

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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors