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.
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'
Solved! Go to Solution.
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
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
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
115 | |
100 | |
88 | |
68 | |
61 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |