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