Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello community,
I am French and I will try to pose my problem in English to get the most support.
I use a DATE table, a SELLERS table and a VEHICLES table
Each new vehicle file is unique and is identified by a management code.
I have an active relationship between the VENDORS table and VEHICLES table, on the SELLER and SELLER_SUPPLIER fields
and an inactive relationship between SELLER and SELLER_CUSTOMER.
A seller orders a vehicle from a supplier and sells this vehicle to a customer, which means that the name of the seller can be different: I therefore have for a single file a SELLER_SUPPLIER field and another SELLER_CUSTOMER field. Example: seller A buys the vehicle from a supplier and seller B sells it to a customer.
My problem is as follows: how to obtain the number of supplier orders per seller and how to obtain the number of sales to customer?
Because for the moment when I select seller B the CA is false because the vehicle files purchased by seller A are missing
THANKS
To achieve this in Power BI, you can use DAX to create calculated columns or measures in your data model. Here's a step-by-step guide:
Here's a quick overview of the DAX functions used:
Adjust the column and measure names based on your actual column names, and make sure your relationships are set up correctly. This approach allows you to dynamically calculate the counts based on the seller type for each record.
If this helped, Subscribe AnalyticPulse on YouTube for future updates:
https://www.youtube.com/@AnalyticPulse
https://instagram.com/analytic_pulse
https://analyticpulse.blogspot.com/
subscribe to Youtube channel For fun facts:
https://www.youtube.com/@CogniJourney
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
12 | |
9 | |
9 | |
9 |
User | Count |
---|---|
21 | |
14 | |
14 | |
13 | |
13 |