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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
fusiee_
Regular Visitor

Multiple values in rows and columns calculate based on each categorical values

Hi Everyone, 

 

I have a fairly complicated task where I need help. I have a task where I have a data about each product data and and how long each department took to complete their task and then compare which department takes longer to complete its task. The issue is based on certain tasks and conditions same department name appears more than one columns or rows.. For example.

 

Product ID ( unique)Commercial Data Task 1 ( date to complete)Commercial Data Task 1( department)Commercial Data Task2 ( date)Commercial Data Task 2(department)Technical Data task 1( days)Technical DataData Task 1(department)
Apple10 dayssales3 daysmarketing10 dayssales
Orange5 daysIT36 dayssales5IT

 

So it looks like certain tasks have same department but different times.  So my task is to create a dax to find out how each department performs. in the view it will have lets say commerical data --> all the departments involved in this task and to see which department takes longer to complete their task when compared with other departments in total. The goal is make a visual where shows commerical data departments and comparing their each performance to find out which department takes longer to complete the task. 

 

I cant use unpivot cause its one table with over 20'000 rows and more than 100+ columns

 

I hope this is clear enough explaination. If you can help me that would be great. LOOKing forward to hearing from you. 

 

Best,

</>

 

 

 

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @fusiee_ 

Can you share the expected result in excel to further clarify your needs?

Best Regards,
Community Support Team _ Eason

The expected result would be like following: 

 

Sales ( All the sales days summed For commercial data tasks) : 46

Sales ( All the sales summed for Technical Data Tasks: 10 

Total Sales = 56

 

Same structrue will be for all the departments based.. so we can evaluate how departments doing when compared with other departments under Commercial or Technical Data tasks. 

 

Looking Forward to hearing from you.

 

Best,

 

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.