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! Request now

Reply
Simon_G
Frequent Visitor

Use a Calculated value as a slicer

Hello everyone, 

I have created a dashboard that uses user inputs (in the form of dropdown menus) to calculate a single value (in that case the solar insolation needed for a building). This works well and I'm able to get a final value that I can display. 

For my visual, I would like to filter a map to only show the cities that have a solar insolation value higher than the one calculated (I can do it manually using a slicer and by entering the value I found but I would like it to be automatic). 

My base data is a list of cities with associated solar insolation values. 

I haven't been able to find my solution online yet. 

 

Thank you in advance, 

Simon 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @Simon_G - Create a measure to filter cities based on whether their solar insolation values are higher than the calculated solar insolation needed. 

 

Below measure i have used for testing with financial sales and profittotal, you can change it to  solar insolation measure values.

CitiesFiltered =
VAR TotalSales = SUMX('financials', financials[Sales])
VAR TotalProfit = [profittotal]
RETURN
    IF(TotalSales >= TotalProfit, 1, 0)
 
In the Filters pane for the map visual, add the CitiesFiltered measure.Set the filter to only include rows where CitiesFiltered is 1.
 
rajendraongole1_0-1718386209537.png

 

 

try the above process and let know. 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
Simon_G
Frequent Visitor

It worked! Thank you so much!

rajendraongole1
Super User
Super User

Hi @Simon_G - Create a measure to filter cities based on whether their solar insolation values are higher than the calculated solar insolation needed. 

 

Below measure i have used for testing with financial sales and profittotal, you can change it to  solar insolation measure values.

CitiesFiltered =
VAR TotalSales = SUMX('financials', financials[Sales])
VAR TotalProfit = [profittotal]
RETURN
    IF(TotalSales >= TotalProfit, 1, 0)
 
In the Filters pane for the map visual, add the CitiesFiltered measure.Set the filter to only include rows where CitiesFiltered is 1.
 
rajendraongole1_0-1718386209537.png

 

 

try the above process and let know. 

 

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors