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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
qs
Helper I
Helper I

DATA[booked_calls]

Hello,  I hope that I can get a bit of help. I have two columns in my DATA table and I'm trying to divide one by the other to give me a percentile output. 

 

It's a simple call booking table. Ideally, I would like to see a percentage column which shows calls divided by booked_call for any given day and/or month.

 

 

Both calls and booked_calls are expressed in dd: mm:yyyy hh: mm: ss.

DATA[calls] is the first column and DATA[booked_calls] is the other. 

 

Thanks for your help in advance. 

1 ACCEPTED SOLUTION

Hi Eric,

Thanks for your message. Since I have date_table, I managed to get the percentages of the "calls" over the "booked_calls" using  the following formula:

Percentage = DIVIDE([count of calls],[count of booked_calls])*100

 

Best
Q

View solution in original post

5 REPLIES 5
Eric_Zhang
Microsoft Employee
Microsoft Employee


@qs wrote:

Hello,  I hope that I can get a bit of help. I have two columns in my DATA table and I'm trying to divide one by the other to give me a percentile output. 

 

It's a simple call booking table. Ideally, I would like to see a percentage column which shows calls divided by booked_call for any given day and/or month.

 

 

Both calls and booked_calls are expressed in dd: mm:yyyy hh: mm: ss.

DATA[calls] is the first column and DATA[booked_calls] is the other. 

 

Thanks for your help in advance. 


@qs

It is not quite clear for me. Could you share any sample data and expected output?

In substance, I would like to calculate the ratio of  "Count of calls" over "Count of booked_calls" expressed in percentage for each given month.

Eric_Zhang
Microsoft Employee
Microsoft Employee

@qs

Then you'll have to split those two column into individual tables, convert the selected column to date type.

booked_calls = SELECTCOLUMNS(yourTable,"booked_call",yourTable[booked_call])

calls = SELECTCOLUMNS(yourTable,"call",yourTable[calls])

Create a calendar table.

calendar = CALENDAR("2017-01-01","2017-12-31")

The create proper relationship

Capture.PNG

 

Then just create a measure as

prec = DIVIDE(COUNT(booked_calls[booked_call]),COUNT(calls[call]))

Hi Eric,

Thanks for your message. Since I have date_table, I managed to get the percentages of the "calls" over the "booked_calls" using  the following formula:

Percentage = DIVIDE([count of calls],[count of booked_calls])*100

 

Best
Q

Using date table. then I would like to see how many calls are made against booked  calls in each given month, expressed in percentageUsing date table. then I would like to see how many calls are made against booked calls in each given month, expressed in percentage

Helpful resources

Announcements
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.

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.