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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
c_l_dunphy
New Member

MapBindingFieldPairs Values Pointlayer are not valid

Have a pagination report with start/end date parameters for charts/tables. When I add a map the start/end date fails the report with

 

The layer 'PointLayer1' in the map 'Map1' is not valid. Specify a valid value for the MapBindingFieldPairs property.

Can anyone help with how to add a member for start/end date in that property collection? "Pagination report MapBindingFieldPairs" does not return much

 

I can remove the parameters / hardcode the dates

Thanks

Chris

 

Here is my query in the pagination report dataset

SELECT

  Incident.IncidentID

  ,Incident.CreateDateTime

  ,Incidentt.Lat

  ,Incident.Lon

 ,Incident.mydata

.

.other fields..etc

.

 

FROM

  Incident

WHERE

 Incident.CreateDateTime >= @StartDate

  AND Incident.CreateDateTime <= @EndDate

 

The dataset is connected to a view in SQL (no parameters just a select ….)  so if I need to do some redesign there that could be ok'

 

 

1 ACCEPTED SOLUTION
c_l_dunphy
New Member

CollectioEditor.pngMapChart.png

 


Add a map chart just ignore the error for
Must Declare the scaler cariable '@startDate' and then
add a 'Point Layer'
next select the correct dataset for the pointlayer.
then select that pointlayer and chose the Data.BindingFieldPairs (collection) ...
this will open the 'MapBindingFieldPair Collection Editor'
then select 'Add'
the 'BindingExpression' should have a arrow to select the type field
FieldName is the column name

 

View solution in original post

2 REPLIES 2
c_l_dunphy
New Member

CollectioEditor.pngMapChart.png

 


Add a map chart just ignore the error for
Must Declare the scaler cariable '@startDate' and then
add a 'Point Layer'
next select the correct dataset for the pointlayer.
then select that pointlayer and chose the Data.BindingFieldPairs (collection) ...
this will open the 'MapBindingFieldPair Collection Editor'
then select 'Add'
the 'BindingExpression' should have a arrow to select the type field
FieldName is the column name

 

v-lionel-msft
Community Support
Community Support

Hi @c_l_dunphy ,

 

I can't reproduce your problem, please create support ticket .

 

Best regards,
Lionel Chen

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.