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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
AustinP
Regular Visitor

Array sum measure based on values for other columns

Hi everyone,

 

I'm trying to create a measure for the sum of values (call this, 'Data'[V]) for each unique value in a column (call this 'Data'[C]. I thought it would be best to avoid creating a new table, though I am unsure In example, i would like a table like this:

DateTypeValue
1-23Profit10
1-23Payable6
1-23Inventory3
2-23Profit10

to return:

TypeValue
Profit20
Inventory3
Payable6

 

However, there is currently also a single table used as a time horizon filter

MTD
YTD
YoY

and based on what the viewer chooses on the slicer with this data, performs a calculation based on the dates from the original table. 

 

 

I would like the grouped values from the top table to reflect the date filtering.

 

Is this possible?

Thanks

1 REPLY 1
lbendlin
Super User
Super User

Your data model has a Dates table, and it is marked as such?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.