I am using a SQL Server Database via Direct Query.
There is a table containing
Country
Allegation
Serial numbers (whole number; no dedicated SN ranges)
I added all three as slicer to the repoert.
Now my challenge is that the user have to select a serial number and defined amount of serial number items before and after have to be shown.
My problem is now that when a SN is selected the only the corresponding country and allegation is shown.
Now I added three parameters to my report and changed my queries that the parameters are reflected. In the query view everything works perfect. But as I switched back to the report i get following error message:
That looked crazy to me and I connected my report to DAX-Studio and figured out when the transfered M-parameters are commented out the DAX query runs successful.
Is there a possibility that these parameters are not transfered to DAX our is there another solution?
I have a recommendation for you; but I am not sure It will solve your problem. Let's start:
Screen_01
Select your parameter on the Queries Pane
Screen_02
Go to properties on the Query Tab.
Screen_03
Ensure that Enable load to report box is unchecked. Click Ok. Then go to your report and test it.
Related
I am new here, so apologies upfront if my structure is not correct, will try my best to make sure the outline is as neat as possible.
Problem
I have a powerBI report that consists of a home page and sub-report. The one report is called Home which shows a summary of all the employee type output information and the other is Employee type which shows information per type. I am using PowerAutomate to export those reports (consolidated) and save them into a sharepoint. The mechanism is working as intended for the home report, but is not for the Employee sub-report.
I have noticed that in the Employee subreport I have a filter for Employee types which has:
{Half-Time, Permanent, Contractor, Vendor-Contractor}
Each selection in the drop down will present different results in the report.
My PowerAutomate flow is an approval process for stakeholders to sign off the reports per Employee Type. when ever I trigger the action button on my PowerBI report it runs the flow and saves the Export to file for PowerBI report to my sharepoint, with Home page correct, but Employee sub-report page always showing the first selection Employee type within the array(Half-Time), where I want it to show the report based on the user selected results.
Here are the inputs I have added to the Export PowerBI action in PowerAutomate
I am not sure what I am doing wrong, I have tried a myriad of different options even tried the filter for EmployeeType, but it creates a loop in flow and doesnt yield any of the results I need.Any help would be much appreciated
I tried adding the report sections in the PowerBI action which did consolidate a PDF for the Home page and Employee sub-report, but kept showing the fist item in the filter selection as opposed to user selected item with respective results.
I also tried initializing a variable to show user selected item in the Employee type array, this did nothing, same results as above.
I have a report like this:
It's got three tabs, based on three separate SQL queries (and Power bi queries) of our database.
One tab is based on all the subjects we have in our program
One tab is a query of a database with all the staff associated with all the
subjects in our database
The third tab (that I am working on now) is from a query of all the subjects in our database that need reconsent. The way I envision all three tabs working is that you start in the first tab, filter to the subjects you care about, and then those slicers/filters affect the next two tabs.
My problem is:
I dont know how to get the slicers/filters in the first tab to affect the others. I was able to get the second tab linked by just merging those two queries (there's pretty much 100% overlap) and just using "one" dataset for both.
I've tried "manage relationships" and created a relationship between the first query subject mrn and the third query subject mrn... but even though there's a 'relationship' between the two... thats not enough for slicers on the first tab to affect anything on the third tab. How do I do that?
I asked this on the power bi forum as well and was given some followup questions that I'll add info from here:
The sync slicers setting is on:
And if I go look at the table on the third tab, it says a bunch of slicers are currently affecting it:
(I changed the slicer values between taking these screenshots, dates look different in each)
Also here is a photo of the relationship between queries in the model:
So to repeat/rephrase:
Let's say I use slicers on the first tab to filter to 10 people coming in the next week (which are in one query). Lets say 1 of those people exists in the third query as someone who needs reconsent. How do I get only that one guy to show up on the third tab with his info from that query?
I have been trying to find an answer to my problem but to no avail, so hoping someone is able to provide some ideas / advice on if this is possible and if so, how to go about it? I've tried various things and none have worked.
We create views within SQL and then connect to them using 'Import' from the Data Connectivity Mode when connecting to the SQL Server from within Power BI. Within the view, we use tables that contain a 'Valid From Date' and 'Valid To Date' for each row of data, so when a change occurs a row is closed off and a new row is created. This is so we can limit the rows of data within the table.
When trying to create a report within Power BI, we need to make it that the end user can use a data drop down list to select a date and the data within the whole of the report shows any rows that the selected date falls on or between the Valid From and Valid To dates. We use Cards, Tables, Matrix and Charts within our reports, so all would need to reflect the date selected by the user.
I have tried various methods that I could think to get it to work but each have had limitations where it either doesn't work or only partly works.
Any help / advice on this would be really appreciated.
Many Thanks
Jon
I am trying to apply conditional formatting to a field of a table in a report in Power BI online.
The report is connected to a dataset that is in MS Teams and continues to function. All existing conditional formatting is unchanged.
These are the steps I took:
Switch report to edit mode
Select table
Select conditional formatting - advanced controls
In the pop-up window, select "Based on Field"
Then, the drop down list is blank and says {{::placeholderText}}.
This can now be recreated in any report, new or existing, where I attempt conditional formatting.
I tried creating a new report from a new dataset, and attempted to add conditional formatting to a table. The same result happened.
I tried signing out of my Microsoft account and signing back in, but no effect.
I was able to get it working by adding ?conditionalFormattingModern=1 to the url for the online editor like this: https://app.powerbi.com/groups/me/reports/xxx/ReportSection?conditionalFormattingModern=1. (source of idea)
I'm not sure if it will work correctly after I publish the visual though. Apparently this isn't an issue on Power BI Desktop though- so it's probably fine.
Update: Not sure if I'm doing something wrong- but the conditional formatting doesn't seem to be actually applied. It's just that the editor window displays correctly.
I have a requirement to provide the detail information regarding Employee Sales shown in the cube in an SSRS report.
I have Employee Dimension, Transaction Dates and count of sales made. Requirement is to pass the Employee ID, Min Transaction Date, Max Transaction Date for the Employee to an SSRS report which will query the underlying fact /dimension table (NOT CUBE) and provide the detailed data.
I have set the Report Server And Path accurately and ensured that the parameter names match with that in the SSRS Report.
Just to establish the correctness of process I am trying to initially hard-code the EmployeeID,Startdate and EndDate in the SSAS Reporting Action Parameter List.
The Challenges I am Facing are as below :
I pass the EmployeeId as UrlEscapeFragment(Cstr(7070707)) and the report action is available on the cube , and opens the report , However the SSRS report does not use this parameter supplied in the URL.
I am unable to pass a date value to the report , I tried the same Syntax and UrlEscapeFragment(Cstr(1-Jan-2016)) and this causes the report action to disappear when browsing the cube. I understand this is because there is a syntax issue.
Please bear with me if these queries are trivial as I am fairly new to SSAS and MDX and am struggling to successfully establish a connection to the SSRS report from the cube.
Could anyone please help/advise.
Further down I guess I would need to pass these values dynamically but as a first step I am keen to establish the correctness of this all.
Thanks in advance.
When i replaced the path with report server path instead of report manager , the parameter is being reflected in the report.
Also Date was updated as UrlEscapeFragment(Cstr("1"+"/1"+"/2016")) and was picked up.
This has now been replaced with dynamic values by using Dimension.Attribute.CurrentMember.Name.