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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
abartell
Regular Visitor

Difference Instead of Total in Matrix Visual with Two Filters

Hi - I used this formula from a previous solution from @v-lionel-msft  to pull in difference between two columns instead of total, but I am having issues adding a second filter.

 

We are using this to show revenue change over import dates in our production schedule, and I am wondering how I can edit this formula to allow additional filtering by both import date, and planned end date. 

 

Here is the current formula:

abartell_0-1683578467636.png

 

The  formula works when filtering by one column "import date":

abartell_0-1683577194140.png

But when I try to filter by the month end date, it gives me this:

abartell_1-1683577356233.png

Is there another clause I need to add to allow filtering by both import date and planned end date? 

abartell_2-1683577428302.png

 

The goal is for the end user to select two import dates and a month, then for the the matrix to display customer, both import dates and the difference in revenue between those two columns, only for the month that was selected. 

 

Any help is greatly appreciated. 

1 ACCEPTED SOLUTION
abartell
Regular Visitor

Figured it out!

abartell_0-1683844365820.png

 

View solution in original post

1 REPLY 1
abartell
Regular Visitor

Figured it out!

abartell_0-1683844365820.png

 

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.