Forum Discussion
Aggregating Quick Measures
- Anonymous6 years ago
Hi rachaelwalker ,
Please try to update the existed calculated column "Warranty to Sent Invoice" as below to get the working days between two days:
Warranty to Sent Invoice = IF ( ISBLANK ( 'Projects'[WarrantyStart] ) || ISBLANK ( 'Projects'[Invoice Sent] ), 0, CALCULATE ( COUNTROWS ( 'Query2' ), FILTER ( 'Query2', WEEKDAY ( 'Query2'[Date], 2 ) < 6 ), DATESBETWEEN ( 'Query2'[Date], 'Projects'[WarrantyStart], Projects[Invoice Sent] ) ) )Best Regards
Rena
Hi rachaelwalker ,
It seems the total value can't be calculated correctly, you can refer the methods in the following documentations to resolve it.
Sum of values in a measure with divide measure
If the above methods can't resolve your problem, please share more sample data or your pbix file. Later we will make troubleshooting on it based on provided information. Thank you.
Best Regards
Rena
I believe these solutions would work if my measure was a calculated column. I tried using a calculated column instead, but it is returning all zeros.
- Anonymous6 years agoNot applicable
Hi rachaelwalker ,
The data of table visual in your report are all from table "Projects"? Could you please provide some sample data in this table? It is better if you can provide your pbix file. Then I can make troubleshooting based on your report file, it will be very helpful to find the root cause of problem. Thank you.
Best Regards
Rena
- rachaelwalker6 years agoResolver III
For security reasons, I will send it directly to you
- Anonymous6 years agoNot applicable
Hi rachaelwalker ,
Please try to update the existed calculated column "Warranty to Sent Invoice" as below to get the working days between two days:
Warranty to Sent Invoice = IF ( ISBLANK ( 'Projects'[WarrantyStart] ) || ISBLANK ( 'Projects'[Invoice Sent] ), 0, CALCULATE ( COUNTROWS ( 'Query2' ), FILTER ( 'Query2', WEEKDAY ( 'Query2'[Date], 2 ) < 6 ), DATESBETWEEN ( 'Query2'[Date], 'Projects'[WarrantyStart], Projects[Invoice Sent] ) ) )Best Regards
Rena