Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Invesco
Helper V
Helper V

Measure Issue counting days - to ignore slicer

Hi Experts

 

See Sample file below 
https://www.dropbox.com/s/aordvy5wxbmzdsg/samplepbix?dl=0 

 

For the period selected 10.1.2022 to 16.1.2022 i have 4 Customer Facing days. When i select from the Filter (Type) f2f or Phone or Virtual I want the customer facing days number to remain as 4 in total for the selected Period. 

 

Currently then Measure "Day Count" in the grey box returns back zero. 

 

Day Count = Calculate(sum(FACT Table[Date Value]), Filter(ALL(FaCT Table), FACT Table[Type] = "Customer Facing Day"))+0 gives me the total customer facing days over the two week.....but i want to only return back Customer Facing Days over the selected date Period.

 

 

Cannot see the wood for the tree on how to resolve this...

1 ACCEPTED SOLUTION
LuizLima00
New Member

I 've a simple idea to resolver this.

 

You can create a table from dates and relate them, after that use mensure on bellow 

Remmember you must change the slicer for you new table of dates.

CALCULATE(
SUM('FACT Table'[Date Value]),
'FACT Table'[Type] = "Customer Facing Day"
) + 0

 

LuizLima00_0-1647103592674.png


Hope this help, if not resolve you can tell me on my Linkedin here

 

View solution in original post

2 REPLIES 2
LuizLima00
New Member

I 've a simple idea to resolver this.

 

You can create a table from dates and relate them, after that use mensure on bellow 

Remmember you must change the slicer for you new table of dates.

CALCULATE(
SUM('FACT Table'[Date Value]),
'FACT Table'[Type] = "Customer Facing Day"
) + 0

 

LuizLima00_0-1647103592674.png


Hope this help, if not resolve you can tell me on my Linkedin here

 

Hi LuizLima00 - Thanks for the excellent feedback but can you kindly post the PBIX with the solution please...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.