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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
suraetay
Frequent Visitor

ArcGIS Map, is there a way to limit how data is sliced based on status?

Hello all,

I'm working on a Power BI mapping visual that shows our project locations across the country, with a slicer for their added date. I have a request to add in all our ordered, but not started, projects, and display them regardless of their start date. Right now the table I'm using has a column for project addresses and a second for the project status, with the ordered-but-not-started projects identified as "Open" and the rest marked as "Activated."

My guess is that I may need to add in the open projects as a custom base layer from ArcGIS, but we don't currently have an ArcGIS account. Is there another way I can get this to work?

TIA!

1 ACCEPTED SOLUTION
suraetay
Frequent Visitor

I was actually able to solve this myself after a lot of digging. Here's the query I used, I hope it's helpful for others. I then applied this measure to "Filters on this visual" and indicated to include those where the value is greater than 0. Attaching a screenshot of the visual result too.

suraetay_0-1772743989525.png



include_open_projects = 
VAR mindt = MINX(ALLSELECTED('DATE'[Date]), 'DATE'[Date])
VAR maxdt = MAXX(ALLSELECTED('DATE'[Date]), 'DATE'[Date])

RETURN
CALCULATE(
    COUNTROWS(
        FILTER(address_table,
        (address_table[lead_project_added_dt] >= mindt && 
        address_table[lead_project_added_dt] <= maxdt)
        ||
        ISBLANK(address_table[lead_project_added_dt]))),
        REMOVEFILTERS('DATE'))

 

View solution in original post

1 REPLY 1
suraetay
Frequent Visitor

I was actually able to solve this myself after a lot of digging. Here's the query I used, I hope it's helpful for others. I then applied this measure to "Filters on this visual" and indicated to include those where the value is greater than 0. Attaching a screenshot of the visual result too.

suraetay_0-1772743989525.png



include_open_projects = 
VAR mindt = MINX(ALLSELECTED('DATE'[Date]), 'DATE'[Date])
VAR maxdt = MAXX(ALLSELECTED('DATE'[Date]), 'DATE'[Date])

RETURN
CALCULATE(
    COUNTROWS(
        FILTER(address_table,
        (address_table[lead_project_added_dt] >= mindt && 
        address_table[lead_project_added_dt] <= maxdt)
        ||
        ISBLANK(address_table[lead_project_added_dt]))),
        REMOVEFILTERS('DATE'))

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.