new table creation
5 TopicsI need help to create a new table from another one
I don't know if this is tricky or is just me, but here goes nothing. I have one table with a group of columns that are months and another group of columns that are also months, each group have a different context in its values; one group is a planified budget, the other group is the real disbursement. Something like this: id title jan_planified_amount feb_planified_amount (…) jan_real_amount feb_real_amount (...) 1 example_1 $500,00 $0,00 (…) $0,00 $500,00 (…) So I tried creating two new tables, one for each group and unpivot the columns, keeping the ids, the months and the amount. Then I create a relation many to many and create a new table with only ids, but when I tried putting the values in a chart it does not work. So I need another way to relate these tables or create only one table with both values like this: id title month planified amount real amount 1 example_1 jan $500,00 $0,00 1 example_1 feb $0,00 $500,00 1 example_1 mar $1.000,00 $1.000,00 1 example_1 apr $0,00 $0,00 1 example_1 may $0,00 $0,00 1 example_1 jun $0,00 $0,00 1 example_1 jul $0,00 $0,00 1 example_1 aug $0,00 $0,00 1 example_1 sep $1.000,00 $0,00 1 example_1 oct $0,00 $0,00 1 example_1 nov $0,00 $0,00 1 example_1 dic $1.000,00 $2.000,00 Because I need a chart like this: Been the bars the planified amount and the line the real amount. I don't know if this is the best way to achieve this but is the only thing I cant think of. I need a little help.Solved780Views0likes2CommentsMonth End view of Positions filled and unfilled based on job created date and Job Id.
Hi Expert members, Currently I'm working on a task where I have to create end of month view for number of positions filled and unfilled. Can you give an idea of how to create this view given below. Main table has all the job related data like job id, no.of candidates need etc. Main Table: JOB ID No of Candidates needed Candidate ID STATUS Job Created Date Job Offered Date 1a 9 1a25c01 OFFER 25/06/2022 22/09/2022 1a 9 1a25c02 OFFER 25/06/2022 3/10/2022 1a 9 1a25c03 OFFER 25/06/2022 5/10/2022 1a 9 1a25c04 OFFER 25/06/2022 5/10/2022 1a 9 1a25c05 OFFER 25/06/2022 5/10/2022 1a 9 1a25c06 OFFER 25/06/2022 5/10/2022 1a 9 1a25c07 OFFER 25/06/2022 10/11/2022 1a 9 1a25c08 OFFER 25/06/2022 10/11/2022 1a 9 1a25c09 OFFER 25/06/2022 13/11/2022 1a 9 1a25c10 OFFER 25/06/2022 15/11/2022 1a 9 1a25c11 OFFER 25/06/2022 16/11/2022 1b 5 1b23s01 OFFER 5/08/2022 7/08/2022 1b 5 1b23s02 OFFER 5/08/2022 9/08/2022 1b 5 1b23s03 OFFER 5/08/2022 1/09/2022 1b 5 1b23s04 OFFER 5/08/2022 7/09/2022 1b 5 1b23s05 OFFER 5/08/2022 1/10/2022 1c 4 1c25c01 OFFER 9/12/2022 10/01/2023 1c 4 1c25c02 OFFER 9/12/2022 10/01/2023 1c 4 1c25c03 OFFER 9/12/2022 15/01/2023 1c 4 1c25c04 OFFER 9/12/2022 17/01/2023 Required View/End View: Job Id Job Created Month/Year No.of Open Positions No.of Positions Filled Time elapsed 1a 25/06/2022 Jun-22 9 0 5 1a 25/06/2022 Jul-22 9 0 36 1a 25/06/2022 Aug-22 9 0 67 1a 25/06/2022 Sep-22 8 1 97 1a 25/06/2022 Oct-22 3 5 128 1a 25/06/2022 Nov-22 -2 5 158 1b 5/08/2022 Aug-22 3 2 26 1b 5/08/2022 Sep-22 1 2 56 1b 5/08/2022 Oct-22 0 1 87 1c 9/12/2022 Dec-22 4 0 22 1c 9/12/2022 Jan-23 0 4 53 I was able to create a similar table for the months that jobs were offered, but want the table to display even the months where the jobs were not offered and no.of open positions >=0.Solved1KViews0likes2CommentsHow to make a summary table
Hi, I have an "Incident" table looks like this, note that I created the column (Opened At Month) in Power Query editor so that it is easier for future aggretation based on month: Incident: "Opened At" "Opened At (Month)" "Incident ID" "Met SLA" "Age (Days)" "Duration(Secs)" 1-Sep-21 Sep-21 Inc090921 Yes 0.008 691.2 13-Sep-21 Sep-21 Inc130921 Yes 0.0009 77.76 2-Oct-21 Oct-21 Inc021021 Yes 0.0073 630.72 12-Oct-21 Oct-21 Inc121021 No 1 86400 2-Nov-21 Nov-21 Inc021121 No 0.9 77760 5-Nov-21 Nov-21 Inc051121 No 1 86400 11-Nov-21 Nov-21 Inc111121 No 1 86400 2-Dec-21 Dec-21 Inc021221 Yes 0.006 518.4 21-Dec-21 Dec-21 Inc211221 No 1 86400 8-Jan-22 Jan-22 Inc080122 Yes 0.0006 51.84 And based on this Incident table, I need to create an Incident Summary table that aggregates the number of incidents, and number of incidents that have met SLA etcs each month, it should look like this: Incident Summary "Opened At (Month)" "Number of Incidents" "Incidents that have Met SLA" "Average Age (Days)" "Duration(Secs) > 80000" Sep-21 2 2 0.00445 0 Oct-21 2 1 0.50365 1 Nov-21 3 0 0.9666666667 2 Dec-21 2 1 0.503 1 Jan-22 1 1 0.0006 0 I tried to use DAX to create a new table: Incident Summary = SUMMARIZE(Incidents, Incidents [Opened At (Month]), and created a relationship between Incident and Incident Summary. I managed to figure out the calculation of "the Number of Incident" column = CALCULATE (COUNTROWS(Incident), USERELATIONSHIP(Incident[Opened At (Month], 'Incident Summary'[Opened At (Month)])) However, I am stuck with how to calculate number of Incidents that have met SLA (Met SLA = Yes), I tried to use this formula to create the "Met SLA" column but it does not give me the right number: Met SLA = CALCULATE(COUNT(Incident[Met SLA ]), FILTER (Incident, Incident[Met SLA]="Yes")) It would be really appreciated if anyone can let me know how to summarise the following metrics in Incident Summary table: 1. Incidents that have Met SLA 2. Average Age (Days) 3. Duration(Secs) > 80000 I also tried Pivoting from Query Editor but it didn't help. Much appreciated if anyone can point me right direction on how to properly summarise a table in PowerBI, either using DAX or other methods, I am still relatively new to PowerBI. Thanks for very much for your help.Solved863Views0likes2CommentsCreate new table with distinct values and filters
I want to create a new table that contain a distinct value of SKU. However, when I try with filters, the distinct values can not comply with the DAX code so I don't know where should I put the distinct code. Here is my code, basically I need the distinct values of SKU along with the brands and their descriptions. I also want to apply the filters where the SKU code must not start with "S", "O" and list of SKU with condition (brand<>blank()&&left(sku,1)="C-") FILTER(SUMMARIZECOLUMNS(ItemPackage[SKU],ItemPackage[PackageDescription],ItemPackage[Brand Name]),LEFT(ItemPackage[SKU],1)<>"S"&&LEFT(ItemPackage[SKU],1)<>"O"&&(ItemPackage[Brand Name]<>BLANK()&&LEFT(ItemPackage[SKU],1)="C")))2.2KViews0likes8CommentsCreating a table from different columns of each table with date filter and aggregate the column
Hi, I have 8 different data tables with calculated measures & columns. I want to create a new table from columns of each table. basically, Table 1....to Table 8 with approximately 15 columns each what I want is, below New table, column 1 = sum of ( Average of calculated column 1 of Table 1 +...+ average of calculated column 1 of table 😎 Column 2 = sum of ( Average of calculated column 2 of Table 1 +....+ average of calculated column 2 of table 😎 . . . Column 8 = sum of ( Average of a calculated column 8 of Table 1 +....+ average of calculated column 8 of table 😎 All the above-calculated column in the new table will use date slicer in visuals. Help me, please.899Views0likes2Comments