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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sbarker_11
Helper I
Helper I

Multiple date fields for multiple values applied to a slicer

Hi,

 

I have multiple fields i need to report on, all with their own dates:

Application Amount    Application Date

Approved Amount    Approved Date

Deposit Amount    Deposit Date

 

I have Unpivoted these and have a col for Date (All), showing the unpivtored dates and the following attributes: Application, Approved and Deposit date. 

 

I have table which is interacting with the Date (ALL) slicer 

The issue im having is that i want the table toshows all 3 amounts - which I have.
But I need:

Application amount to show only when the application date is within the slicer period
Approved amount ot show only when the approved date is within the slicer period

Deposit amoutn to show only when the deposite date is withn the slicer period

 

if I apply an attribute it will show the correct figure but only for whichever category (applied, approved or deposited) and if i leave the attrubute itll include all data across all dates as opposed to filtering each.

 

sample data:

IDApplication dateApplication amountapproved dateapproved amountdeposit datedeposit amount
6782715/09/2023            12,00020/09/2023                        12,00010/10/2023           12,000
435603/10/2023            50,00011/10/2023                        20,00018/10/2023           20,000
8590712/10/2023          100,00020/10/2023                      100,00001/11/2023         100,000
4732718/10/2023          150,000    
57820/10/2023            75,00023/10/2023                        50,00002/11/2023           50,000
974621/10/2023            15,00021/10/2023                        15,000  
3662830/10/2023            55,00001/11/2023                        40,00002/11/2023           40,000

 

what I want it to show:

DATE slicer: Last Calendar Month

AppsApps (£)Approved Approved  (£)DepositedDeposited (£)
6          445,0004                      185,0002           32,000

 

 

what it currently shows with date slicer applied (only seems to be interacting with app date:

AppsApps (£)Approved Approved  (£)DepositedDeposited (£)
6          445,0005                      225,0004         190,000

 

 

1 ACCEPTED SOLUTION
sbarker_11
Helper I
Helper I

I have managed to solve this my self 🙂 simply by creating the below measures for count and sum for EACH attrubute and using them in the table:

 

DepAmtMeasure =
CALCULATE (SUM('Export'[Deposit Amount]),
USERELATIONSHIP('Export'[Deposit Date],'Unpivoted Date Columns'[Date (All)])
)
 
DepCountMeasure =
CALCULATE (COUNTROWS('Export'),
USERELATIONSHIP('Export'[Deposit Date],'Unpivoted Date Columns'[Date (All)])
)
 
then the same for application and approved too. 

View solution in original post

1 REPLY 1
sbarker_11
Helper I
Helper I

I have managed to solve this my self 🙂 simply by creating the below measures for count and sum for EACH attrubute and using them in the table:

 

DepAmtMeasure =
CALCULATE (SUM('Export'[Deposit Amount]),
USERELATIONSHIP('Export'[Deposit Date],'Unpivoted Date Columns'[Date (All)])
)
 
DepCountMeasure =
CALCULATE (COUNTROWS('Export'),
USERELATIONSHIP('Export'[Deposit Date],'Unpivoted Date Columns'[Date (All)])
)
 
then the same for application and approved too. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.