Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
PLEASE BE INFORMED THAT I WANT TO HAVE THE SOLUTION IN EXCEL NOT POWER BI
Hi all,
I have a dataset and want to perform some calculations with a measure. To this end, I have changed the AdventureWorks dataset (publicly available) to make my problem more understandable.
I have the following tables:
This table lists the price of a product at a specific date. I made a unique column, which consists of the product key and the date.
This table lists the details of a product key: name of the product and the color.
For each day and for each currency, the conversion rate.
For each product (ProductKey) sold, the date and quantity. Column B makes the line unique: =C2&E2.
What I have so far in Excel is a prototype see screenshot
- in cell E3 we have the formula =UNIQUE(Sales!C2:C41,FALSE,FALSE). This populated the column with all the products that are sold
When a date is selected in B3, the following happens:
So far I have only this:
It shows only that day.
Total_Sales is a measure (and the only measure I have so far,
total_sales = SUMx(Sales,Sales[Quantity]*RELATED(ProductPrice[Price]))
Also, the FX table does not connect automatically to any of the other tables. Why is that?
Please see a link to Excel sheet: Click here
Thanks,
Naveen