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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors