Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Max between queries

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:

 

CustomerIncludedUsage
A100
C75

 

The refreshing usage table has their daily usage

 

CustomerDate Used
A1-Jan 32
B1-Jan 11
C1-Jan 18
A2-Jan 67
B2-Jan 5
C2-Jan 13
A3-Jan 40
B3-Jan 2
C3-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

CustomerUsage
A139
B18
C75

 

 

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

@Anonymous Let me know if this helps...

Max Between Queries.png

EDIT:

Max Between Queries2.png

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

That is exactly what I am trying to do! Thank you very much!!

Sean
Community Champion
Community Champion

@Anonymous Let me know if this helps...

Max Between Queries.png

EDIT:

Max Between Queries2.png

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.