The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Team,
Can any one help me to create report for weighted average time taken for extracting the invoice by client wise.
For your reference i have shared screenshot below of my table. please create any sample pbix file to show the weighted average for each invoice time taken by client wise.
Solved! Go to Solution.
Hi @BhanuPBI
I hope this is what you are looking for. Please refer to attached sample file .
Time = SUM ( 'Table'[Time taken] )
Average Time =
DIVIDE (
[Time],
CALCULATE (
[Time],
ALL ( 'Table' ),
VALUES ( 'Table'[Client] )
)
)
Hi @BhanuPBI
I hope this is what you are looking for. Please refer to attached sample file .
Time = SUM ( 'Table'[Time taken] )
Average Time =
DIVIDE (
[Time],
CALCULATE (
[Time],
ALL ( 'Table' ),
VALUES ( 'Table'[Client] )
)
)
Hi,
I am not sure how you weigh each invoice, but please check the below picture and the attached pbix file.
The below is one of ways to calculate weighted avg.
I hope the below can provide some ideas on how to create a solution for your data model.
User | Count |
---|---|
26 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
30 | |
15 | |
12 | |
12 | |
7 |