Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
The selected date range above should result in 2 (days). But is giving me a result of 5 based on this table below.
Solved! Go to Solution.
@Oros Try this measure:
Hi,
Ideally, you should create a Calendar Table. Create a relationship (Many to One and Single) from the Posting Date column of the Invoice Table to the Date column of the Calendar Table. Build the slicer from the Date column of the Calendar Table. Write these measures:
Invoices issued = countrows(Data)
Number of days on which invoices were issues = countrows(filter(values(Calendar[date]),[Invoices issued]>0)
Hope this helps.
Hi @Ashish_Mathur,
Thank you for your reply. The Invoices issued is correct but it looks like the Number of days is NOT correct. Maybe I missed something? Also, is that measure supposed to EXCLUDE the weekends? Thanks again.
You are welcome. The date slicer should be built from the Calenar Table.
@Oros Try this measure:
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 57 | |
| 55 | |
| 42 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 113 | |
| 106 | |
| 39 | |
| 35 | |
| 26 |