Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I Have 2 queries - 1 static and 1 that refreshes from a csv monthly - used for customer billing. The static table holds the customer information if they have a fixed amount of usage included in their plan:
| Customer | IncludedUsage |
| A | 100 |
| C | 75 |
The refreshing usage table has their daily usage
| Customer | Date | Used | |
| A | 1-Jan | 32 | |
| B | 1-Jan | 11 | |
| C | 1-Jan | 18 | |
| A | 2-Jan | 67 | |
| B | 2-Jan | 5 | |
| C | 2-Jan | 13 | |
| A | 3-Jan | 40 | |
| B | 3-Jan | 2 | |
| C | 3-Jan | 12 |
On my report I need to have a table that shows their included usage - or actual usage if they exceeded their included usage. I know how I'd do it in SQL, but not sure how to do it in PowerBI - See customer A & C
January Usage
| Customer | Usage |
| A | 139 |
| B | 18 |
| C | 75 |
Solved! Go to Solution.
That is exactly what I am trying to do! Thank you very much!!
@Anonymous Let me know if this helps...
EDIT:
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |