Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi ALl,
I got two tables, one of which had some invoices for an account with multiple start dates and end dates (Table Bill) and another table which has the bill frequency (Table Account).
I want to find out if any account has not received any invoices in time or not.
As an example,
Max Invoice Start Date: 01/03/2024
Max Invoice End Date: 31/03/2024
Account Billing Frequency: Monthly (there are multiple valies here)
Final Output: If the account is set up as Monthly billing frequency i want to add 45 days into the Max End Date giving me an expected date of 15/05/2024 by which i should have received the invoice for April Period. After 15/05/2024, it should start to get reported and by how many days it's late.
I want to be able to do this using virtual tables within a DAX Measure rather than creating seperate tables for this.
Any suggestions.
Hi @mayurbajaj ,
Please provide sample data in table format and show your expected results.
Best regards,
Community Support Team_ Scott Chang
These are my 2 tables:
So far i ave tried this
Any help would be appreciated
Hi @mayurbajaj ,
I guess the problem is with the switch statement, I didn't find information about BillingFrequency in your screenshot.
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
The Billing Frequency is basially 'BILL CYCLE' within the screen shot
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
11 | |
10 | |
10 | |
9 |
User | Count |
---|---|
18 | |
13 | |
12 | |
11 | |
8 |