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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply

numeric slicer for aggregated Y axis

utkarshshastri_0-1760088025385.png

utkarshshastri_1-1760088085959.png

utkarshshastri_2-1760088103003.png

 

 

I want to create a slicer filter where i can filter by count of accounts ? creating a parameter and measure to filter was not succesful filteration as it took lot of time . how can i created numeric slicer with mentioned info 

1 ACCEPTED SOLUTION

Hi @utkarshshastri ,

Thank you for the update.

The “Resources Exceeded” message means Power BI is processing too much data at once, likely because SUMMARIZE with RELATEDTABLE is being used on the large Marketo_Leads and Marketo_Campaign_Activity tables.

To fix this:

Use Power Query’s “Group By” to pre-aggregate data by LEAD_MAIL_DMN_NME and create a summarized table (Lead_Count_Summary_PQ), which helps avoid heavy calculations at runtime.

Alternatively, in DAX, limit summarization to more recent data, for example:

Lead_Count_Summary =
VAR RecentLeads =
    FILTER (
        'Marketo_Leads',
        'Marketo_Leads'[MONTH_START] >= DATE(2024,1,1)
    )
RETURN
SUMMARIZE (
    RecentLeads,
    'Marketo_Leads'[LEAD_MAIL_DMN_NME],
    "LeadCount", COUNTROWS (RELATEDTABLE('Marketo_Campaign_Activity'))
)
​

If your dataset is currently set to DirectQuery mode, consider changing it to Import mode to help lower the query load.

Let us know if these changes resolve the issue, or if you continue to experience resource limitations. Hope this help you .

 

Thank you.

View solution in original post

8 REPLIES 8
v-tsaipranay
Community Support
Community Support

Hi @utkarshshastri ,

 

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. 


Thank you.

 

v-tsaipranay
Community Support
Community Support

Hi @utkarshshastri,

 

Thank you for sharing the relationship details — that helps a lot.

Based on your model (Marketo_Campaign_Activity → Marketo_Leads via LEAD_ID ↔ SRC_LEAD_IDN`), you can try creating a summarized table instead of using a measure. This approach improves performance and enables a numeric “Between” slicer directly.

Lead_Count_Summary =
SUMMARIZE (
    'Marketo_Leads',
    'Marketo_Leads'[LEAD_MAIL_DMN_NME],
    "LeadCount", COUNTROWS (RELATEDTABLE('Marketo_Campaign_Activity'))
)

Once after creating please do the following :

  1. Add LeadCount from this table into a slicer and set it to Between.
  2. Connect the slicer to your main visual using LEAD_MAIL_DMN_NME or the appropriate account field.
  3. This method filters pre-aggregated data, so it should be much faster than parameter-based filtering.

Please note, since screenshots don’t include the data rows or DAX error details, we can’t fully reproduce the issue on our side, but the logic above aligns with your model structure.

If you still face an issue, kindly share the exact error message or a few sample rows to help validate further.

Thank you.

utkarshshastri_0-1761112709647.png



its showing query has exceeded 

Hi @utkarshshastri ,

Thank you for the update.

The “Resources Exceeded” message means Power BI is processing too much data at once, likely because SUMMARIZE with RELATEDTABLE is being used on the large Marketo_Leads and Marketo_Campaign_Activity tables.

To fix this:

Use Power Query’s “Group By” to pre-aggregate data by LEAD_MAIL_DMN_NME and create a summarized table (Lead_Count_Summary_PQ), which helps avoid heavy calculations at runtime.

Alternatively, in DAX, limit summarization to more recent data, for example:

Lead_Count_Summary =
VAR RecentLeads =
    FILTER (
        'Marketo_Leads',
        'Marketo_Leads'[MONTH_START] >= DATE(2024,1,1)
    )
RETURN
SUMMARIZE (
    RecentLeads,
    'Marketo_Leads'[LEAD_MAIL_DMN_NME],
    "LeadCount", COUNTROWS (RELATEDTABLE('Marketo_Campaign_Activity'))
)
​

If your dataset is currently set to DirectQuery mode, consider changing it to Import mode to help lower the query load.

Let us know if these changes resolve the issue, or if you continue to experience resource limitations. Hope this help you .

 

Thank you.

Hi @utkarshshastri ,

 

We haven’t received an update from you in some time. Could you please let us know if the issue has been resolved?
If you still require support, please let us know, we are happy to assist you.

 

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @utkarshshastri ,

Thank you for reaching out to the Microsoft fabric community forum.

 

Could you please let us know if the issue has been resolved? I wanted to check if you had the opportunity to review the information provided by @grazitti_sapna  . If you still require support, please let us know, we are happy to assist you.

 

Thank you.

hi @v-tsaipranay  not able use the below mentioned DAX , please use my SS to give me solution , let me know what is more required

utkarshshastri_0-1760423877253.png

 

grazitti_sapna
Super User
Super User

Hi @utkarshshastri,

 

Create a summary table in DAX:

Account_Count_Summary =
SUMMARIZE(
'Accounts',
'Accounts'[Hospital Name],
"AccountCount", COUNT('Accounts'[AccountID]),
"TotalSales", SUM('Accounts'[Sales])
)

  1. Go to Model view.

  2. Create a relationship if needed (or use it standalone).

  3. Add a numeric slicer:

    • Add AccountCount from Account_Count_Summary.

    • Set slicer type to Between.

  4. Use this table in your bubble chart:

    • X-axis: [QoQ Growth] or any measure.

    • Y-axis: [AccountCount].

    • Size: [TotalSales].

    • Category: [Quadrant Category].

This way, the slicer filters already aggregated data, which is instant.

 

🌟 I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
💡 Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
🎖 As a proud SuperUser and Microsoft Partner, we’re here to empower your data journey and the Power BI Community at large.
🔗 Curious to explore more? [Discover here].
Let’s keep building smarter solutions together!

 

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 Solution Authors