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 September 15. Request your voucher.

Reply
Volvo_Chang
Helper I
Helper I

Measure

Hello Team,

I have net cases number pulled from daily invoice database. I want to show the net cases in the table as the table1 below based on the date range. However, I have used the measure as below but get the net cases combined instead of row by row. Can you please help me how to adjust my measure to get it to work? Thanks.

NetCases = calculate(sum('summary InvoiceDCByDay'[NetCases]),filter('Pricing',average('summary InvoiceDCByDay'[InvoiceDate])>=Pricing[Valid After] && average('summary InvoiceDCByDay'[InvoiceDate])<=Pricing[Valid Before]))

 

Net Cases

Price Start Date

Price End Date

100

4/1/2019

5/1/2019

108

5/1/2019

6/1/2019

5

6/1/2019

7/1/2019

 

 

This one below is what it look like in my table, after the measure I enter:

Adjusted CasesPrice Start DatePrice End Date
 4/1/20195/1/2019
2135/1/20196/1/2019
 6/1/20197/1/2019
0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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