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

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.

Resolver II
Resolver II

Get Avg Days when data is in 60 columns

I need to create a table that shows two columns

  1. Average days from "Cred Paperwork Completed Date to Submitted Date" Per Insurance Carrier
  2. Average days from "Submitted Date to Effective Date" Per Insurance Carrier

The desired output should look like Pic 1, however,  the data is housed in 62 different date columns as previewed in pic 2

Pic 1



Pic 2



I've tried to unpivot the columns in a new table and I've tried creating 20 calculated columns to count the days then get the averages but I'm not able to create the desired chart. Thanks for all ideas and as an FYI, not all clinicians get credentialed by every insurance provider so there are a lot of blank date fields.


Sample Data Here:





Community Support
Community Support

Hi @anwilkins ,

Taking the first record of the new table as an example, could you please tell me how to get 36 and 5?

By converting it, I can get a table like this, but I don't know how to calculate the next step.


Best Regards,

Community Support Team


If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Hi Gao, I had done a similar test where I took all the insurance carrier columns and Unpivoted to get them into one column. Then took all the Sumbitted Date columns and unpivoted and finished by doing the same with the Effective Date columns. The problem is that it is not looking at things on a row level so I dont get a valid Avg day account. But thanks for chiming in!

Helpful resources

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City


Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.