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
mattsuderman
Frequent Visitor

Paginated Report Query, pointing to Power BI Semantic model, pulls different results than Power BI.

I have a paginated report that uses a semantic model built in a Power BI report.

 

Normally everything is fine, but we are getting strange data  in the Paginated report. 

I went to the paginated report and ran the query for the problem visual.
I copied the Query text and went to the Power BI report, in DAX, I Ran the query and got completely different results.

In the screenshot below, the top result is from the Power BI report. this is the expected result.

The bottom is the query from the paginated report in Builder. 

 

again....same semantic model....after full refresh.

 

Thank you, in advance, for your assistance.


It's a simple query really.
EVALUATE SUMMARIZECOLUMNS('Data'[Recommendation], "DealCount1", [DealCount1], "% of $ FundedLF0", [% of $ FundedLF0], ........)

2024-10-31_13-59-59.jpg

1 ACCEPTED SOLUTION
FarhanJeelani
Super User
Super User

@mattsuderman ,

This could happen due to a few possible reasons:

Possible Causes and Solutions

1. Data Refresh Timing Issues:
- Cause: If the semantic model isn’t refreshed simultaneously in both Power BI Desktop and the Power BI service, you might see stale or inconsistent data in one of the environments.
- Solution: Ensure the model is fully refreshed and synchronized in both Power BI and the paginated report. This includes checking that any data source or gateway is up-to-date and functioning properly.

2. Row Context Differences:
- Cause: The `SUMMARIZECOLUMNS` function might behave differently based on the row and filter context in Power BI and the paginated report.
- Solution: Test the query in DAX Studio to verify if it produces the same results as Power BI Desktop. DAX Studio allows you to run queries in a controlled environment that closely mimics Power BI Desktop’s context.

3. Query Caching:
- Cause: Sometimes, paginated reports might show cached results, especially if the dataset hasn’t been refreshed recently in Power BI Service.
- Solution: Clear the cache in Power BI Service by performing a manual refresh or scheduling a refresh for the dataset in the workspace where the semantic model resides.

4. Paginated Report Query Adjustments:
- Cause: Paginated reports often handle DAX slightly differently, especially with complex `SUMMARIZECOLUMNS` functions or advanced calculations.
- Solution: Simplify the query or consider breaking it down into separate, smaller queries to isolate which part might be causing discrepancies. You might also try using different DAX functions, such as `SUMMARIZE` with `CALCULATE`, if applicable.

5. Semantic Model Differences:
- Cause: It’s possible that the semantic model used by the paginated report differs slightly from the Power BI model. Even a small change in column calculations or relationships could lead to differences.
- Solution: Double-check that both reports are indeed pointing to the same, unchanged semantic model version. Ensure all metadata, relationships, and calculated columns are identical.

Steps to Diagnose

1. Compare in DAX Studio: Copy the query from both Power BI and the paginated report into DAX Studio and run them in the same environment. This will help rule out context-specific issues.

2. Check Filter Context: Look at the specific filters and slicers applied in Power BI versus the paginated report. A difference in default filters, hidden slicers, or row context could cause varying results.

3. Use Trace in Power BI Service: In Power BI Service, enable tracing to see the underlying queries and check for any discrepancies when the paginated report query runs.

If the issue persists after these checks, feel free to provide more details, and I can guide you on specific diagnostics or query refinements.


If this post helps, then please consider Accept it as the solution .

View solution in original post

2 REPLIES 2
FarhanJeelani
Super User
Super User

@mattsuderman ,

This could happen due to a few possible reasons:

Possible Causes and Solutions

1. Data Refresh Timing Issues:
- Cause: If the semantic model isn’t refreshed simultaneously in both Power BI Desktop and the Power BI service, you might see stale or inconsistent data in one of the environments.
- Solution: Ensure the model is fully refreshed and synchronized in both Power BI and the paginated report. This includes checking that any data source or gateway is up-to-date and functioning properly.

2. Row Context Differences:
- Cause: The `SUMMARIZECOLUMNS` function might behave differently based on the row and filter context in Power BI and the paginated report.
- Solution: Test the query in DAX Studio to verify if it produces the same results as Power BI Desktop. DAX Studio allows you to run queries in a controlled environment that closely mimics Power BI Desktop’s context.

3. Query Caching:
- Cause: Sometimes, paginated reports might show cached results, especially if the dataset hasn’t been refreshed recently in Power BI Service.
- Solution: Clear the cache in Power BI Service by performing a manual refresh or scheduling a refresh for the dataset in the workspace where the semantic model resides.

4. Paginated Report Query Adjustments:
- Cause: Paginated reports often handle DAX slightly differently, especially with complex `SUMMARIZECOLUMNS` functions or advanced calculations.
- Solution: Simplify the query or consider breaking it down into separate, smaller queries to isolate which part might be causing discrepancies. You might also try using different DAX functions, such as `SUMMARIZE` with `CALCULATE`, if applicable.

5. Semantic Model Differences:
- Cause: It’s possible that the semantic model used by the paginated report differs slightly from the Power BI model. Even a small change in column calculations or relationships could lead to differences.
- Solution: Double-check that both reports are indeed pointing to the same, unchanged semantic model version. Ensure all metadata, relationships, and calculated columns are identical.

Steps to Diagnose

1. Compare in DAX Studio: Copy the query from both Power BI and the paginated report into DAX Studio and run them in the same environment. This will help rule out context-specific issues.

2. Check Filter Context: Look at the specific filters and slicers applied in Power BI versus the paginated report. A difference in default filters, hidden slicers, or row context could cause varying results.

3. Use Trace in Power BI Service: In Power BI Service, enable tracing to see the underlying queries and check for any discrepancies when the paginated report query runs.

If the issue persists after these checks, feel free to provide more details, and I can guide you on specific diagnostics or query refinements.


If this post helps, then please consider Accept it as the solution .

Anonymous
Not applicable

Hi @mattsuderman ,

 

View data refresh and model updates. Verify that the data refresh has completed successfully and ensure that both the paging report and the Power BI report are using the latest version of the semantic model. Sometimes, if a report is using outdated data, discrepancies may occur.

 

For more details, you can refer to below document:

Advanced incremental refresh and real-time data with the XMLA endpoint in Power BI - Power BI | Micr...

Data refresh in Power BI - Power BI | Microsoft Learn

 

Best Regards,
Adamk Kong

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

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