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
tarolz132q
New Member

Comparative Analysis by different values in a same dimension using Summarize with FILTER

Hi,

In order to do the compartive analysis I've created number of dimensions that assist me to differniate between the groups. for instance:

 

filters:

tarolz132q_1-1671635132669.png

dimensions:

 

tarolz132q_0-1671635046467.png

In order to create a group that filters only the specific dataset I've created measures like below - 

avg num matches version 1 = CALCULATE(sum(V_REPORTS_VERSIONS_COMPARISON[NUM_MATCHES])/COUNT(V_REPORTS_VERSIONS_COMPARISON[USER_ID]),all('V_ETL_DIM_CURRENT_VERSION_ORDER'),ALL('V_ETL_DIM_INSTALL_VERSION_ORDER_3'),ALL('VARIATION_2'),ALL('VARIATION_3'),ALL('zEXPERIMENT_2'),ALL('zEXPERIMENT_3'))
 
ALL regarded all the dimensions I wanted to ignore!!
 
Now my problem that I cant do it a complex measure That use summarize - 
avg_num_matches_versions_retention_day =
CALCULATE(
  sumx(SUMMARIZE('V_REPORTS_VERSIONS_COMPARISON_RETENTION',V_REPORTS_VERSIONS_COMPARISON_RETENTION[RETENTION_DAY],"calculated column",
  CALCULATE(sum(V_REPORTS_VERSIONS_COMPARISON_RETENTION[NUM_MATCHES]))/CALCULATE(sum(V_REPORTS_VERSIONS_COMPARISON_RETENTION[NUM_USERS]))), AVERAGE([calculated column])),
  FILTER (
        ALL('V_REPORTS_VERSIONS_COMPARISON_RETENTION'[RETENTION_DAY]),
         'V_REPORTS_VERSIONS_COMPARISON_RETENTION'[RETENTION_DAY] <= MAX('V_REPORTS_VERSIONS_COMPARISON_RETENTION'[RETENTION_DAY])))
 
 
How I Use the filter here???
 
Please help!!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @tarolz132q ,

 

The first parameter of SUMMARIZE() is the table, and you can nest FILTER() outside of it, like this:

SUMMARIZE(
    FILTER('Table','Table'[column1]=xxx),
    'Table'[column2],
    "abc",
    ...
)

If I have misunderstood your needs, please feel free to contact me.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @tarolz132q ,

 

The first parameter of SUMMARIZE() is the table, and you can nest FILTER() outside of it, like this:

SUMMARIZE(
    FILTER('Table','Table'[column1]=xxx),
    'Table'[column2],
    "abc",
    ...
)

If I have misunderstood your needs, please feel free to contact me.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors
Top Kudoed Authors