Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I'm having some difficulty in grouping and summarizing the data in Power BI as per link below. Appreciate if you can give me assistance in processing the data as per steps indicated.
Thanks and best regards,
Mark
Solved! Go to Solution.
Hi @markefrody,
You don't need to make any new table to make this summarization, when possible and as a best practice you should create measures instead of columns or new tables.
Create the following 4 measures:
SPHA's_Filled = MAX(SPHA[SPHA's Filled]) SPHAS_FILLED_OFFICE = SUMX(VALUES(SPHA[Job: Name]);SPHA[SPHA's_Filled]) SPHA needed to fulfill = SUM(SPHA[Ticket Man Hours Total]) / 40 SPHA left to fulfill = SPHA[SPHA needed to fulfill] - SPHA[SPHAS_FILLED_OFFICE]
The first one is just an auxiliary measure the other 3 is the ones you should use on your visuals, as you can see below the second measure works with all the Job:name but also without them making the calculations you need to make the grouping. You can use the measures in tables or in other types of visuals.
In attach you can find the PBIX
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @markefrody,
You don't need to make any new table to make this summarization, when possible and as a best practice you should create measures instead of columns or new tables.
Create the following 4 measures:
SPHA's_Filled = MAX(SPHA[SPHA's Filled]) SPHAS_FILLED_OFFICE = SUMX(VALUES(SPHA[Job: Name]);SPHA[SPHA's_Filled]) SPHA needed to fulfill = SUM(SPHA[Ticket Man Hours Total]) / 40 SPHA left to fulfill = SPHA[SPHA needed to fulfill] - SPHA[SPHAS_FILLED_OFFICE]
The first one is just an auxiliary measure the other 3 is the ones you should use on your visuals, as you can see below the second measure works with all the Job:name but also without them making the calculations you need to make the grouping. You can use the measures in tables or in other types of visuals.
In attach you can find the PBIX
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @markefrody,
there is no file in the link you provided.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHello,
Goto to Data pane and
Click Edit Queries
Select the query you want to aggreagte
Click Group By
Let me know how this works..
The above solution will give you Group by "Job Name "
For Group by "Office"
We need to Duplicate this table and later do a group by
for duplicate this table Click on Get data-->blank query --> in formula bar write "= Table Name " this will duplicate
Once you have duplicated do a group by as shown in above step with the column as "Office".
Drag this field into visualisation
Thanks,
Aditya
Thanks @Anonymous for the suggestion. Have a nice day ahead.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |