Case1: I want my PowerBI to call a row each (Request Number ID) in PowerApps when each URL is clicked on in PowerBI.
(i )I know I can (concatenate the url && Req Number). However I need to make sure my PowerApps can be dynamic to use ID number so each row is called on by a click from PowerBI.
Case 2: In PowerApps, how do i display one row at a time in my PowerApps for people to view and make updates in PowerApps when they click on the URL in PowerBI
Note My PowerApps table1 is linked to a table2 in SharePoint. I made table2 invisible in PowerApps but feeding details to table1.
I am new to PowerApps.
I am not sure if i am making any sense buy I need help.
Related
I have a large table (FactSales) in Dw with following columns:
OrderDate|ProductID|OrderNumber|CustomerName|Amount
DateTable connects on date column to OrderDate
DimProduct connects on ProductID column to ProductID
Incremental refresh is configured on this table.
Now to improve this model in Power BI, I want to move the CustomerName to its own new dimension table (say DimCustomer). To achieve this, suppose I duplicate this fact table, then keep only the CustomerName column, remove duplicates, add an index column. Then merge the SalesFact table with DimCustomer.
At this point I'm unable to configure Incremental refresh for DimCustomer and FactSales table because the native query option is disabled (query doesn't fold).
So my intention to improve the model has the negative cost of not being able to incrementally refresh. How is this scenario (adding index column, and merge with another table) handled by Power BI engineers so that incremental refresh can be performed?
You just need to inject the RangeStart/RangeEnd parameters before the first non-foldable query step.
I have a sql database linked where I have the complete history of products and users. I want to the user to be able to select on the slicer a year and the data automatically shows active prodcuts, expired products and new products added in that year (or snapshot).
Is there a way this can be done? I am not able to find a measure to best do this for me.
I recommend creating a date dimension table first - I usually call mine Calendar. Please read this useful post by Radacad which will show you how to create one > https://radacad.com/power-bi-date-or-calendar-table-best-method-dax-or-power-query
Once it's done create relationships between your fact tables and calendar table on key dates of when your products are active or expired - I'm making a huge assumption that's what your tables store.
Your calendar table will then act as a single time/date point of truth and should be used to slice and dice your fact table.
Hope this helps!
Let's say I have a View "A" imported in powerbi as table
Very few columns is being used in the visuals from the powerbi, so in order to reduce the refresh time and sql server load I have created a new view "B" specifically for that report
Inorder to replace A with B, now I have to do everything manually, from changing Datatype in powerbi side, changing fields in visuals
Since I have retained the same name of the columns in the new view B, Is there is any tool to achieve the above in simple manner?
I have a SQL background and I'm trying to learn DAX. Basically, I have a query in a dataset where I need to get the earliest date corresponding to each row, for the same client (grouped by client), and I need a date filter for no dates earlier than a cutoff. I also need it to respond to user filters in the report - (where they will select by program - maybe I need a measure here?).
I really have no idea how to construct this in DAX.
To summarize: For every row (each row is a Service Case), there needs to be the date of that Service Case (ServiceStart) but also the earliest Service Start for Service Cases of the same client, starting after a specific date, while dynamically responding to program-specific filters on the UI side of the report.
The Query in SQL looks something like this:
Data In SQL
As you can see on Row 4 there are two different dates, because this client actually had an earlier Service Case date in another row in the table.
I am open to all suggestions for a best solution.
In power bi, I have a table Customer in which I am keeping the Id, name and other details of customer. I have another table named Customer_CustomerRole_Mapping which contains CustomerId and its CustomerRoleId. I have another table name CustomerRoles which contains name and id of each role.
CustomerRoles and Customer_CustomerRole_Mapping are linked together.
In Power Bi, I want to show customers count role wise in a pie chart? I tried but I am unable to apply linkage between these tables. I am new to Power Bi.
Your Tables:
Customer
Role
CustomerInRole
The Table "Customer" is not necessary for your Report because you only need to know the count of rows in "CustomerInRole" per row in "Role". So just add a pie chart, use the name of the role in the axis (or legend) and the (distinct) count of Field "CustomerIDs" in "CustomerInRole"
That is all you need ;-)
please find table relation is one-way or two-way . if it is complex and you are going for two way then it will not show.
To have things clear I would add the role to your customer's table. There's no use in keeping things in a relational way when you start playing with BI.
This can easily be done in the query editor. On the home tab, click "Edit Queries"
And there you'll have to click "Merge queries", also on the home tab completely on the right.
In the upper table you select the CustomerID-column and Customer_CustomerRole_Mapping table, select the right ID for that table. After clicking "Ok" you can expand the new columns (by right clicking the merged query-column). You will have to repeat this step to add the roles to the Customer table, but in this second round you will have to work with selectint the roleId's.
After all this you can delete the columns that you don't need anymore from this table and just keep the role.
In the pie chart you then just add the role and select "Count".
It is handy to solve it like this when you have other Fact-tables, and you want to use Role as a Dimension.
You can be linking of tables in power bi desktop go dashboard and click on the third menu as showing in image Relation Management data table image whatever you want make relation with table just drag and drop to link within multiple and single tables with parent and child tables and if you want to delete this relation just go on relation arrow(line) do right click on line and delete it and save file.
Cheers.