User Profile
SteiniJonsson
Frequent Visitor
Joined 6 years ago
User Widgets
Contributions
Order of colors in R visual are wrong when published to service
I have a dataset which among other things defines colors which should be applied to columns in the visual. This works really well in PBI desktop (and R Studio) but when I publish the report to powerbi.com the order of the colors is wrong (the columns get the wrong color). At first it looked like the colors were sorted in alphabetical order but I was unable to reproduce that. Using color names produced the same result as using the hex codes. I have created a small DAX script to create test tables: ColourNames = DataTable ( "FillColour", string, "Value", integer, "xLabel", integer, { { "Red", 50, 1 }, { "Gold", 30, 2 }, { "Red", 10, 3 }, { "Gray", 40, 4 }, { "Red", 20, 5 } } ) ColourHexes = DataTable ( "FillColour", string, "Value", integer, "xLabel", integer, { { "#ff0000", 50, 1 }, { "#ffd700", 30, 2 }, { "#ff0000", 10, 3 }, { "#bebebe", 40, 4 }, { "#ff0000", 20, 5 } } ) The R script for the visual is: library(ggplot2) ggplot( dataset, aes( x = xLabel, y = Value ) ) + geom_col ( fill = dataset$FillColour ) This is what the graph shold look like (and what it looks like in PBI desktop)... but in the service it looks like this. I'm running version 2.102.845.0 64-bit of PBI desktop. Am I doing something wrong here or is this a bug in the service? Regards, Steini792Views0likes2CommentsRe: Unable to upload .xlsm
I tried to run repair on my computer but that did not fix the issue. I have two clients who have upgraded PBISSRS to the Septemer version and they both have this error. As all the instances have Icelandic collation, which might be causing this (that would not be the first time), I will spin up a all-English instance and do some more tests. I will post the results when we are done.3.4KViews0likes0CommentsUnable to upload .xlsm
After upgrading Power BI Report Server to version 1.12.7936.39665(September 2021) I'm unable to upload .xlsm document to the server. The error returned is "Uploading or saving files with .xlsm extension is not allowed. Contact your administrator if you have any questions." Below are entries from the RSPortal log 2021-10-22 09:58:04.2352|INFO|22|Received request POST /api/v2.0/catalogitems| RequestID = s_90891393-e71f-4cd1-8ab5-96edc102f516 2021-10-22 09:58:04.2352|ERROR|22|library|Throwing Microsoft.ReportingServices.Diagnostics.ResourceFileFormatNotAllowedException: , Microsoft.ReportingServices.Diagnostics.ResourceFileFormatNotAllowedException: Uploading or saving files with .xlsm extension is not allowed. Contact your administrator if you have any questions.;| RequestID = s_90891393-e71f-4cd1-8ab5-96edc102f516 2021-10-22 09:58:04.2509|INFO|70|Sending response. Response code <domain>\<username> 400, Elapsed time 0:00:00.0119152| RequestID = s_90891393-e71f-4cd1-8ab5-96edc102f516 2021-10-22 09:58:05.7040|INFO|22|Received request GET /api/v2.0/CatalogItems(Path='/Steini')| RequestID = s_a95929c4-2ad9-4bfe-9250-8cc3a24fcce8 2021-10-22 09:58:05.7196|INFO|71|Sending response. Response code <domain>\<username> 200, Elapsed time 0:00:00.0146411| RequestID = s_a95929c4-2ad9-4bfe-9250-8cc3a24fcce8 2021-10-22 09:58:05.7821|INFO|22|Received request GET /api/v2.0/catalogitems(d5b370eb-16bd-4e60-8d7b-0e6335d6ef09)/Model.Folder/catalogitems/| RequestID = s_d7c1a305-f2fe-452d-9689-40c6316d6e63 2021-10-22 09:58:05.9540|INFO|70|Sending response. Response code <domain>\<username> 200, Elapsed time 0:00:00.1715778| RequestID = s_d7c1a305-f2fe-452d-9689-40c6316d6e63 I have added the extension to the TrustedFileFormat and AllowedResourceExtensionsForUpload sections of the configuration but still no luck. AllowedResourceExtensionsForUpload: *,*.xml,*.xsd,*.xsl,*.png,*.gif,*.jpg,*.tif,*.jpeg,*.tiff,*.bmp,*.pdf,*.svg,*.rtf,*.txt,*.doc,*.docx,*.pps,*.ppt,*.pptx,*.xlsm TrustedFileFormat: jpg, jpeg, jpe, wav, bmp, pdf, img, gif, json, mp4, web, png, xlsm Uploading the file to a previous version (Version 1.11.7815.26414 (May 2021)) is not an issue. Has anyone else had this issue or do you have a solution for me? Best regards, SteiniSolved3.6KViews0likes4CommentsRe: Error with query parameters (from shared datasets) after upgrading to January 2020 PBIRS
In our case the parameter name in the query is the same as the name of the parameter passed to the query (parameter value). After changing the parameter name the report runs without an error. Regards, Steini2.7KViews0likes0CommentsError with query parameters (from shared datasets) after upgrading to January 2020 PBIRS
Hi After upgrading to the January 2020 version of Power BI Report Server some of the reports failed with this error. An error has occurred during report processing. (rsProcessingAborted) The execution failed for the shared data set 'DS1'. (rsDataSetExecutionError) The execution failed for the shared data set 'DS2'. (rsDataSetExecutionError) The execution failed for the shared data set 'DS3'. (rsDataSetExecutionError) Query execution failed for dataset 'DS4'. (rsErrorExecutingCommand) Incorrect syntax near 's'. The last line of the error is the interesting one. After doing a trace on the sql server while running the report I found that the query from the ReportData dataset had an additional letter added to the query at the end one of the predicates. This part of the query then looks like: and m.Column1 in (N'Value1',N'Value2's) If only a single parameter value is selected the additional s is not added and the report runs just fine. The parameter values are coming from shared datasets. Has anybody else experienced anything like this and do you have a solution/workaround (other than the obvious, rollback to the previous version of PBIRS)? Best regards, Steini2.8KViews0likes2Comments
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.