query
12 TopicsDataset in report has null in colunm, but data exists when executing query in SSMS or DaxStudio
Hi all, Strange thing here. I have a dax query which works fine in SSMS and in Dax Studio when I connect to SSRS-Server instance. But the same query shows for one column all null values in Report Builder when testing my report. What can it be ? Here is the query : EVALUATE SUMMARIZECOLUMNS ( 'Datum'[Maand], 'StockTerminal'[LocationName], 'YearChart'[GroupedCommodity], 'Datum'[Datum], 'Datum'[JaarMaand], 'Datum'[Jaar], FILTER ( VALUES ( 'YearChart'[GroupedCommodity] ), ( 'YearChart'[GroupedCommodity] <> BLANK () ) ), KEEPFILTERS ( TREATAS ( { "ARRIVED" }, YearChart[InboundStatus] ) ), FILTER ( VALUES ( 'Datum'[Jaar] ), ( 'Datum'[Jaar] = YEAR ( TODAY () ) ) ), "Qty", [Qty], "QtyPreviousMonth", [QtyPreviousMonth], "QtySamePeriodeLY", [QtySamePeriodeLY], "QtySamePeriode2YAGo", [QtySamePeriode2YAgo], "Difference", ( [Qty] - [QtySamePeriodeLY] ), "Difference2423", ( [QtySamePeriodeLY] - [QtySamePeriode2YAgo] ) )3KViews2likes13CommentsQuery Regarding Report Display
Hi Community Members, Hope you are doing well, I had a small query regarding display options of a report in Power Bi Service, when I publish the report from my desktop app to service I want only the report to display and hide all the options above it and the navogation panel in side, (attaching screenshots of what I want to hide for your reference) Is there a way I can do this? Thanks a lotSolved650Views0likes1CommentPower BI Url query paramters not working
Hi All Need some help about this queries in power bi. I have a report (I only have read/view) rights on it and I want to query it via url. I have create my URL, the report loads but nothing is filtered. I saw that you need to be careful of spaces in the query and all thoose limitation and as far I can see I got that right. Out of option so looking is there any additional tip I should try. Here is my table name with its column name and the filter I am trying. I just dont get it why its not filtering. https://app.powerbi.com/groups/<someprivateurl>?filter=MIM_MART_FACT_DFO.DM_F_DIP_TRANS_POSITION_LOSS_PREVENTION/Locations eq 'GENN'1.4KViews0likes6CommentsAdd parameter in query designer (query from Power BI Performance analyser)
Hi guys, I am trying to add a parameter in my report and add the parameter in the query designer module. The query was generated within Power BI via Performance analyser. I saw different posts on this issue but no clear solution. First I have tried to create a parameter in the report (in my dataset properties) and add it with @ in my query such as // DAX Query DEFINE VAR __DS0FilterTable = TREATAS({@Test}, 'FACT - Conflicts'[Conflict category]) However, I have an error message that the parameter test was not declared. So I declared it again through "Query Parameters" module within the query designer (same name and another name). This time I can execute the query but it returns no row with a default value "Group" (which should not be the case - if I had put TREAT({"Group"}, it returns some rows). I tried to see what were the values in the Parameters properties window and I can see this. Which I don't understand because "Test" is not the name of my dataset.. Any idea to resolve this? Thanks a lot in advance!Solved6.3KViews0likes5CommentsServer refresh gives Table not found error but fine in desktop
I'm trying to set up my scheduled refresh for my PowerBI report - the connection is an ODBC on import, I have the required drivers and get a green check when I test the connection, however when I refresh I get the following error: SessionID: b5ba2f83-45cb-4fab-8a0e-8a79b6cdbf0c [0] -1055784932: DataSource.Error: ODBC: ERROR [42S02] [Cache ODBC][State : S0002][Native Code 30] [D:\Program Files\Microsoft Power BI Report Server\PBIRS\ASEngine\MDataEngine\Mi] [SQLCODE: <-30>:<Table or view not found>] [Location: <Prepare>] [%msg: < Table 'DBO.DSKILLSETSTAT' not found>]. DataSourceKind = Odbc. DataSourcePath = dsn=MYDSNLOCATION. OdbcErrors = #table({"SQLState", "NativeError", "Message"}, {}). . The exception was raised by the IDbCommand interface. [1] -1055784932: The command has been canceled.. The exception was raised by the IDbCommand interface. [2] -1055129594: The current operation was cancelled because another operation in the transaction failed. [3] -1055784932: The command has been canceled.. The exception was raised by the IDbCommand interface. [4] -1055784932: The command has been canceled.. The exception was raised by the IDbCommand interface. My refresh works just fine in PowerBI desktop, no issues with queries on any tables, it's clearly connecting to the source ok, I'm not sure what I'm missing. I can refresh and save the updated file in desktop and the report data refreshes on server. I'm not sure how or why it can't find the table any more. Here's a snip of the connection structure if I'm creating a new source - the table being queried is called dSkillsetStat in the dbo folder774Views0likes0CommentsBest way to minimize count of queries
Hi, I want to build some nice Power Bi Reports which i can upload on my Report Server. I am using for this the Power BI Desktop App for the Reports Server (black one). So far so good. Now I noticed, that I have to query (odbc sql) for all the different reports the same databases which is kind of redundant behaviour. The second point is, that some queries go directly to production databases and I dont want to 'attack' them with like 50 sheduled big queries at night, because I need a lot of data from them. Is there a way to query just ones and build on top of this all the beautiful reports? If not, what is the best way to walk around that? Cheers 🙂Solved1.2KViews0likes3CommentsCant get SQL queries from PBI Report Server database
Hi experts, I am trying to find SQL queries wihch are the source of the micro data for the PBI reports storred in ReportServer database. I found this conversationWhere Can I find the published report in PowerBI Server usefull, but does not cover all my needs. Does anyboady know how to convert ReportServer.dbo.CatalogItemExtendedContent.Content field where ContentType='CatalogItem' to get the data source SQL queries or how to change powershell script from Anonymous in link above to get the content of the DataMashup file from the PBI.zip file? Thanks in advance, Jerneja1.2KViews1like0CommentsHow to let user enters value in PBIRS
Hi everyone, I am looking for a way to let user enters value by pass parameter in report page not from toolbar edit parameter. An additional, I am using a PBIRS for my organization. Now my issue is how to let user to pass a value in function from Oracle Database. It most be enter date every time to bring specific results because without enter value will bring a huge date from Oracle Database and that will effect on server. I will share with you some of pictures maybe will help you understand the situation. Thank you1.3KViews0likes3CommentsFilter is not applying in query string in power bi server
Hi, I have a table and prepared a report in desktop and made a measure which calculate the URL based upon a ID dynamically. URL = "https://app.powerbi.com/groups/ce347380-637d-4700-838f-f7b00294256c/reports/374c3b7b-18f0-46f6-b5ec-2c97cbb01611/ReportSection?filter=Append1/Append1[SIMPrjReqID] eq '&Append1[SIMPrjReqID]&'" This URL has [SIMPrjReqID] column as filter. When I publish this and try to see the filter report;It could not show me the filtered report but only show me the original one which has all the data.in that way the filters are not applying by this URl. The [SIMPrjReqID] is Text type. May I seek for help.Please let me know for additional things you want to know about it.1.7KViews0likes4Comments