The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello,
My case should be simple enough for the experts out there. I'm eagher to become one! 🙂
I have 3 tables:
- Cases table with opened_at, Customer name, case number
- Customer Info table with Customer name, start date, Last Cycle Date and other date columns
- Calendar table
I have relationships between:
- Case table and Calendar table (Calendar.Date --> Case.opened_at)
- Case table and Customer table ( Customer Info.Customer <--> Case.CustomerName)
I need to create a visual that returns the count of cases a customer opened after Last Cycle Date that is stored in the Customer Info table.
The best I achieved was to create a measure that returns correct number of cases after Last Cycle Date (which is 23/03/2023) but also returns a weird count prior to Last Cycle Date.
What I expect is to have results only for last 3 rows in this customers example since the Last Cycle Date is 23/03/2023.
Your help is much appreciated
Hugo
Hi @HugoC ,
I can't tell the difference between the correct value and the wrong value just by looking at the picture. What do they look like in the original data?
Sorry for that the information you have provided is not making the problem clear to me. Can you please share more details to help us clarify your scenario?
Please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.
Refer to:
How to provide sample data in the Power BI Forum
How to Get Your Question Answered Quickly
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
21 | |
20 | |
18 | |
17 | |
13 |
User | Count |
---|---|
41 | |
38 | |
24 | |
22 | |
20 |