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

Calculate price from a specific field

Hello everyone, I am trying to get the total price for a specifict column.

I have a Power Bi report that pulls the data from orders that are invoiced by the current date.

Some of those orders that get invoiced are drop shipments and I would like to know the difference in dollars between what we ship from our facility vrs what was dropped shipped.

 

I would like to create a calculated column that gives me the price of any BOL that has data under the drop shipment column.

 

Test.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@carlosagarcia 

I think a simple DAX will do your favor: 


Column = IF(ISBLANK([DROPSHIP]) , 0 , Table[Price])

Best,
Paul


View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@carlosagarcia 

I think a simple DAX will do your favor: 


Column = IF(ISBLANK([DROPSHIP]) , 0 , Table[Price])

Best,
Paul


Anonymous
Not applicable

Not sure if I am answering your question, but I have a couple ideas. 

 

If you want a calculated column with only the amounts that have a dropship marker, here is a formula I would use:

 

Column = IF(TableName[DROPSHIP]=BLANK() , 0 , TableName[Price] * TableName[Quantity])

 

Otherwise, If you dont constantly need that info, you can just use the visual filters to show DROPSHIP "is not blank".

 

Hope this helps.

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.

Top Solution Authors