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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

empty rows after creating relationships

Hi everyone, 

I am using DirectQuery mode to access Catalog and ExecutionLogStorage table in reportServer database, in PowerBI. I filtered the Catalog table just for type=2, which shows just the reports (excluding folders, etc.)

and I am connecting the catalog and ExecutionLogStorage table like this: 

elimey68_0-1595243764388.png

The problem is that, when I create the following table, I have empty rows for Reportname and reportpath. 

elimey68_1-1595243822085.png

 

How can I get rid of this empty rows?

 

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi @Anonymous , 

I think you need to use measure and visual filter to achieve this goal.

Measure = CALCULATE(COUNT(B[NAME]), FILTER(B,B[NAME]=RELATED(A[name])))

807.PNG

 

Best Regards,
Zoe Zhi

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

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , Default is right to join , It means catalog do no have all the execution log storage has. 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak when I connect Catalog to ExecutionLog, it means : everything in Cataloga and matching rows from ExecutionLog, like qury below: 


SELECT ca.Name, ca.Path,
count(el.UserName) AS Uses,
el.ReportAction
FROM ExecutionLogStorage el
JOIN dbo.Catalog ca ON el.ReportID=ca.ItemID
where ca.type=2
GROUP BY ca.name, el.ReportAction, ca.path

ORDER BY count(el.UserName) DESC



dax
Community Support
Community Support

Hi @Anonymous , 

I think you need to use measure and visual filter to achieve this goal.

Measure = CALCULATE(COUNT(B[NAME]), FILTER(B,B[NAME]=RELATED(A[name])))

807.PNG

 

Best Regards,
Zoe Zhi

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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