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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Asa94
Helper I
Helper I

DAX Measure vs Calculated Column: Sum with complex filters

Hi all,

 

I have been trying to figure out the best way to achieve the following result:

 

Asa94_0-1620979914466.png

1. There are multiple part numbers with various sales for each day in the month

2. I tried to create a Measure [sales] with the Filter function (per part, per month) and the EARLIER function, when I did this, I saw that I need to create a Calculated Column. Also tried SUMX

3. However, I need to reference the measure in another measure.

 

Anyone know how best to go about this scenario? Any help would be appreciated 🙂

 

Kind Regards,

Asa

2 REPLIES 2
amitchandak
Super User
Super User

@Asa94 , Calculated column can not table slicer parameter. So you have create a measure.

 

Expected output is not clear.

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Hi @amitchandak 

 

I will share the sample data with you 🙂 Thank you for responding.

 

Kind Regards,

Asa

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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