March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Error Details
on Y axis we used measure so when we load numeric data its works perfect but when i load string values i am getting error in console
Error: <path> attribute d: Expected number, "M310.596,NaNL729.86,NaNL7…"
Would be glad if someone has a solution.
Thanks for help 🙂
Solved! Go to Solution.
Hi @NileshBhayani,
If you don't want textual values to be valid for that data role, set the requiredTypes property to include integer and numeric.
You can refer to the data roles documentation for further details.
Regards,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @NileshBhayani,
If you don't want textual values to be valid for that data role, set the requiredTypes property to include integer and numeric.
You can refer to the data roles documentation for further details.
Regards,
Daniel
Proud to be a Super User!
My course: Introduction to Developing Power BI Visuals
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @NileshBhayani ,
According to your statement, I think this issue should be caused that the value type is set to number when setting the Y-axis of Power BI Custom visual.
Please check the Power BI Custom visual or you can contact the author of this custom visual.
For reference: Objects and properties of Power BI visuals - Power BI | Microsoft Learn
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
3 | |
2 | |
1 | |
1 |
User | Count |
---|---|
6 | |
3 | |
2 | |
2 | |
2 |