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.
Hi Guys
I'm experimenting with creating live tiles directly into a dashboard with streaming datasets. But if i stream a datetime field, the tile is not refreshed and i got this in edge inspector:
"
Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.
Error
at Anonymous function (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:10...)
at da (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:10...)
at Ba (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:10...)
at Aa (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:10...)
at za (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:10...)
at Ca (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:10...)
at Da (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:10...)
at a (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.externals.bundle.min.js:10...)
at a (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.dependencies.bundle.min.js:66:16900)
at i (https://app.powerbi.com/13.0.1700.1312/scripts/powerbiportal.common.bundle.min.js:12:28610)
powerbiportal.dependencies.externals.bundle.min.js (1007,6823)
SEC7131: Security of a sandboxed iframe is potentially compromised by allowing script and same origin access.
"
I'm using this in c# to send the value: "DateTime.UtcNow.ToString();";
If i send only the field with the value that i want the tile is refreshed as expected!
I'm doing something that it's not supposed to or is a bug with powerbi?
Thanks
Helder
Solved! Go to Solution.
I can reproduce that issue when sending a date which is not in ISO 8601 (2017-03-08T06:02:42.046Z) . Try to recreate a new streaming dataset and change the C# code a little bit.
DateTime.UtcNow.ToString("s") + "Z"
Hi
Sorry for the delay answer. it worked! Thanks
Thanks
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 |
---|---|
12 | |
2 | |
1 | |
1 | |
1 |