Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello Everyone,
I have built a summary table on all reports for the Executive to get a quick visual of what happened for the month. In the report attached the "Monthly Report Summary" of Days to Close is the avarage number of days it took each department to close its invoices. The Dax measure formula I use to get the summary is:
Solved! Go to Solution.
Hi @Masikonde ,
I think "No Data" is displayed in Marketing because there are multiple Marketings in September. You can change the formula in Days to Close to the following:
Days to Close = IF(ISBLANK(SUM(Days2Close[Days2Close])),"No Data",SUM(Days2Close[Days2Close]))
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Days to Close = IF(ISBLANK(SUM(Days2Close[Days2Close])),"No Data",SUM(Days2Close[Days2Close]))
The above DAX formula does gives the ability to show Days to Close for each month selected, but at default it shows sum of all months. Is there way to set the DAX to default to current month?
Hi @Masikonde ,
You can try the following measure:
Days to Close = var __MAXDATE=CALCULATE(MAX('Days2Close'[Date]),ALL('Days2Close')) var __measure= IF(ISBLANK(SUM('Days2Close'[Days2Close])),"No Data",SUM('Days2Close'[Days2Close])) var __measure2 = IF(ISBLANK(CALCULATE(SUM('Days2Close'[Days2Close]),FILTER('Days2Close','Days2Close'[Date]=__MAXDATE))),"No Data",CALCULATE(SUM('Days2Close'[Days2Close]),FILTER('Days2Close','Days2Close'[Date]=__MAXDATE))) return IF(HASONEVALUE('Days2Close'[Date]),__measure,__measure2)
Here is a demo, please try it:
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Masikonde ,
I think "No Data" is displayed in Marketing because there are multiple Marketings in September. You can change the formula in Days to Close to the following:
Days to Close = IF(ISBLANK(SUM(Days2Close[Days2Close])),"No Data",SUM(Days2Close[Days2Close]))
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Days to Close = IF(ISBLANK(SUM(Days2Close[Days2Close])),"No Data",SUM(Days2Close[Days2Close]))
The above DAX formula does gives the ability to show Days to Close for each month selected, but at default it shows sum of all months. Is there way to set the DAX to default to current month?
Hi @Masikonde ,
You can try the following measure:
Days to Close = var __MAXDATE=CALCULATE(MAX('Days2Close'[Date]),ALL('Days2Close')) var __measure= IF(ISBLANK(SUM('Days2Close'[Days2Close])),"No Data",SUM('Days2Close'[Days2Close])) var __measure2 = IF(ISBLANK(CALCULATE(SUM('Days2Close'[Days2Close]),FILTER('Days2Close','Days2Close'[Date]=__MAXDATE))),"No Data",CALCULATE(SUM('Days2Close'[Days2Close]),FILTER('Days2Close','Days2Close'[Date]=__MAXDATE))) return IF(HASONEVALUE('Days2Close'[Date]),__measure,__measure2)
Here is a demo, please try it:
Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |