Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sameergupta60
Helper IV
Helper IV

Dax Help

Hi all,

 

we need help with the below query.

 

The row-wise avg of GPL staff is correct.

 

Row wise avg of gpl staff is correct.

sameergupta60_1-1679113210562.png

 

when we at the overall total  506/2022 avg is 25 but it is showing avg  in gpl staff 22%

sameergupta60_0-1679112450573.png

also sharing the backend sheet. pls help 

 

https://we.tl/t-eNCcRQBAl7

 

Please guide

Regards,

Sameer Gupta

9 REPLIES 9
Ashish_Mathur
Super User
Super User

Hi,

Referring to your MS Excel file, The Zonal1 table in PowerBI Desktop rquires a lot of cleaning up.  First of all, all total and calculation columns should be removed.  Next, all columns columns other than the first 3 should be "Unpivoted".

This is when your data would become amenable for any analysis,.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

Please give me a solution to that query.

 

Regards,

Sameer 

 

Hi,

In the file that you are feeding to PowerBI desktop, just remove all calculated columns/rows/total columns/total rows.  Once loaded, select the first 3 columns, right click and click on "Unpivot Other Columns"


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi ,

 

I removed all the calculation column & rows but my purpose has yet not been resolved.

 

Regards,

Sameer

 

 

With just that one sentence no one will be able to help you.  Share the revised PBI and MS Excel file.  Remove unwanted tables/formulas/columns from the PBI file so that there is no confusion.  In another tab of the MS Excel file, show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi ,

 

in the attached file we have the input file & output files same need on power BI.

 

Regards,

Sameer Gupta

No files are attached.  Where are both the files? - PBI and Excel.  Ensure that in the Excel file, the result is shown cearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

 

Please download the file from below link.

 

https://we.tl/t-YgSlfcLQmJ

 

Regards,

Sameer Gupta

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors