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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
BartVlek
Helper II
Helper II

Correct data for export

Hello Forum,

 

I have a simple dashboard with two tables with information about orders. In the first table there is the customer data, in the second the articles sold. They are joined by the OrderId.
For our financial administration  I need to make an export file with requiered data from the orders.
When one order has more order lines the shipping costs are placed after each line, while they are for the complete order.
The FA needs the seperate order lines, but of course the shipping costs may only be calculated once.

How would you solve that? Thanks in advance for your help !

4 REPLIES 4
Pragati11
Super User
Super User

Hi @BartVlek ,

 

Can you please add more detail to your query like sample data, data model, their relationships, etc.?

The current scenario doesn't help at all in answering your question.

Refer following article on how to get your question answered correctly:

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Thanks,

Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

I would love to. How can I add files to a post?

portoperline.JPG

Hi @BartVlek ,

 

You could show your expected results here with screenshots or tables. 

According to your image above, is the "Porto" calculated only once for each ID in subsequent calculations? You could use the average value like :

AVG =
CALCULATE (
    AVERAGE ( 'Table'[Porto] ),
    ALLEXCEPT ( 'Table', 'Table'[orderId] )
)

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.