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
logan_logan
Helper I
Helper I

Share of Base calculation

Hi,
I am using this to get the base volume for the share.
AllVolume = 
VAR Last_Date = LASTDATE(CALENDAR[Period])
RETURN CALCULATE ( SUM ( TABLE[DOLLARS] ),FILTER(All(CALENDAR[Period]),CALENDAR[Period]=Last_Date),   ALL(TABLE[CHANNEL_TYPE] ))        
I am getting result in CARD but if i put it in Matrix, I see the breakdown of Channel_type
 
Channel_TypeAllVolume
A40
B50
Total90

 

However I need the result like this:

Channel_TypeAllVolume
A90
B90
Total90
 
4 REPLIES 4
logan_logan
Helper I
Helper I

I used AllEXCEPT() and put all the filters I used for that graph and working. 

logan_logan
Helper I
Helper I

Yes, you are right. I have other 3 columns in the filter to consider. 

@logan_logan 

Then have them all inside ALL function

tamerj1
Super User
Super User

Hi @logan_logan 

this should work unless there is/are other column(s) in the filter context that you did not specify in your example or if the relationship between Calendar and Table is bidirectional. 

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.