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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
anwilkins
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

anwilkins_0-1671049661912.png     

 

Pic 2

anwilkins_2-1671050997981.png

 

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: https://docs.google.com/spreadsheets/d/1utsy80043RvkXQZ6hARR44E7TLUKGnVy/edit?usp=sharing&ouid=11334...

 

 

 

 

2 REPLIES 2
v-cgao-msft
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.

vcgaomsft_1-1671095229643.png

Best Regards,
Gao

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

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.