Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
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
User | Count |
---|---|
66 | |
46 | |
20 | |
18 | |
15 |
User | Count |
---|---|
120 | |
41 | |
40 | |
28 | |
23 |