Forum Discussion
Divide count distinct column by non calculated column
- Anonymous5 years ago
oriabbhou1 try the following
% Completion = DIVIDE('Lessons(SQL Table)'[Count of Lesson],RELATED('Lesson Required Table'[Lesson Required]))I've added a PBIX file to this one drive link that shows how I achieved it for you.
Hey oriabbhou1
I'd Suggest you to create a Calculated column for your solution
column=divide(table[LessonCount],table[RequiredLesson],0)
if you dont want to use above solution can you please share some sample data
Did I answer your question? If Yes, Please mark this as a solution
Best Regards
Jay Patel
iXpert Analytics
Hi iXpert_info & Anonymous ,
I tried creating a calulated column but the required lessons column from the lessons required table is not popping up as the denominator.
Both columns are whole numbers so i dont see why it shouldnt work. I'm pretty much trying to accomplish the % completion colum in the sample data below.
Here's my sample data below: