Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi,
I am making a dashboard, filtered by year and month, with two tables.
The first table is fixed (not filtered by the year and month filters) shows the sales amount per month (line) and per year (columns). There I have the Sales Amount number and the YoY
The second shows all clients that paid us that month and year (filters of the dashboard), with their Sale Amounts and YoY.
The second table can filter the first. And here starts my Problem.
When I choose a client that has two differents payments on the same date, the YoY returns a error.
I use the basic DAX for last yeat measures
= CALCULTE ([Sales],SAMEPERIODLASTYEAR(Calendar[Date]))
How can I solve this problem?
I am pretty sure that the problem is caused by the payments on the same date.
Hi, @VKeller ;
Sorry, can you share a scene or a simple example (accompanied by a picture) and the desired result presentation?
please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
89 | |
82 | |
53 | |
40 | |
35 |