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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
AllanBerces
Post Prodigy
Post Prodigy

Max Count on a certain date base from date Slicer

Hi good day can anyone help me on my measure. i have table with column date, location, Trade and Partner. table is connected to my calendar table. From my calendar table i created filter

AllanBerces_0-1758608706454.png

What i required is if i filter the date range let say from Feb 01 to July 20 2025 it will show the Max count number of Trade on the paticular date on the date range i filter 

 

Someting like this the result i required

Card:

AllanBerces_1-1758609411766.png

Table

AllanBerces_2-1758609462780.png

Thank you

2 ACCEPTED SOLUTIONS

Try the following, add more columns as needed

MAXX (
    -- SUMMARIZECOLUMNS creates a table grouped by Partner and Trade
    -- and adds a calculated column "@max" using [POB Max Measure]
    SUMMARIZECOLUMNS(
        'table'[Partner],   -- group by Partner
        'table'[Trade],     -- group by Trade
        "@max", [POB Max Measure]  -- calculate the max value per group
    ),
    [@max]  -- MAXX iterates over the summarized table and returns the maximum of the "@max" column
)

the max will evaluated for each combination of the columns added.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

v-pnaroju-msft
Community Support
Community Support

Thankyou, @danextian, for your response.

Hi AllanBerces,

We appreciate your question on the Microsoft Fabric Community Forum.

Based on my understanding of the scenario, please find attached a screenshot and a sample PBIX file that may assist in resolving the matter:

vpnarojumsft_0-1758630289699.png
We hope the information provided helps to resolve the issue. Should you have any further queries, kindly feel free to contact the Microsoft Fabric community.

Thank you.

View solution in original post

5 REPLIES 5
v-pnaroju-msft
Community Support
Community Support

Thankyou, @danextian, for your response.

Hi AllanBerces,

We appreciate your question on the Microsoft Fabric Community Forum.

Based on my understanding of the scenario, please find attached a screenshot and a sample PBIX file that may assist in resolving the matter:

vpnarojumsft_0-1758630289699.png
We hope the information provided helps to resolve the issue. Should you have any further queries, kindly feel free to contact the Microsoft Fabric community.

Thank you.

Hi @danextian @v-pnaroju-msft thank you very much for the reply, work as i need

danextian
Super User
Super User

Is POB Max a measure or a column? If a column you can just use MAX ('Table'[POB Max]).





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hi @danextian thank you very much for the reply, POB max (trade) is the result of the measure that i;m asking for help on how can i arrive base from my table with column date, location, Trade and Partner

Try the following, add more columns as needed

MAXX (
    -- SUMMARIZECOLUMNS creates a table grouped by Partner and Trade
    -- and adds a calculated column "@max" using [POB Max Measure]
    SUMMARIZECOLUMNS(
        'table'[Partner],   -- group by Partner
        'table'[Trade],     -- group by Trade
        "@max", [POB Max Measure]  -- calculate the max value per group
    ),
    [@max]  -- MAXX iterates over the summarized table and returns the maximum of the "@max" column
)

the max will evaluated for each combination of the columns added.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Kudoed Authors