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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
AvPowerBI
Post Patron
Post Patron

Show items with no data - not working on Table

Hi,

 

I currently have two tables

EngineerCalendar

Visits

 

Joining the two tables using Cross filter Selection - Single

 

Relationship.PNG

 

Not eveything will exist in the Visits Table, so when I created a Table with the following values

Engineer ID (Table: EngineerCalendar)

First Name (Table: EngineerCalendar)

Call No       (Table: Visits)

 

 

I get to see the values I want to see 

 

Table Before.PNG

 

But if change the Values around swapping the First Name and Call No, I see the below which is not correct, as I should be seeing the First  Name?

Table After.PNG

Does anyone know if this is a Bug in Power BI?

I have set the following on each Value Show items with no data

 

Table Show Data.png

 

I basically need certains Values to be in a specific order.

 

Thanks

2 ACCEPTED SOLUTIONS

See this article for help:

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-show-items-no-data

As it says near the bottom, Power BI treats Show Items with no data as a Left Outer Join:

Notice how (Gloss-Red) and (None, blank) appeared as combinations. Here is the reason they appeared:

Power BI first considered ProductStyle[Finish] and selected all the values to display - this resulted in Gloss, Matte, None.
Using each of these values, Power BI selected all the corresponding Product[Color] entries
Since None does not correspond to any Product[Color], a blank appears for that value
It's important to note that the mechanism of selecting values for the columns is order-dependent, and can be thought of as a Left outer join operation between tables. If the order of the columns is changed, the results will change as well.

Let's look at an example of changing the order, and how it impacts results. This is the same as item 2 in this section, with the ordering changed.

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

Thanks @AllisonKennedy so I need to make sure all the fields in the Table that relate to Visits need to appear first and fields from EngineerCalendar to appear after them

View solution in original post

5 REPLIES 5
AllisonKennedy
Super User
Super User

Have you set them all to Don't summarize as well? Otherwise your name might be trying to do a 'First' instead, giving you the error?

 

Also, because of the cross filter direction, if Andrew has no Call value, then you won't see his name in the Name when it is placed after Call. 

 

@AvPowerBI  


Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Hi @AllisonKennedy 

 

Thanks for your reply.

 

Yes all the fields are set to Don't summarize.

 

Not sure what you mean when you have said:

"Also, because of the cross filter direction, if Andrew has no Call value, then you won't see his name in the Name when it is placed after Call. "

 

Yes for that particular day which I have a filter on Dates from the EngineerCalendar 

EngYear = 2020

EngMonth = July

EngDay = 17

Andrew did not make any calls for that day but I still want to show the end users that row on the table,

I just find it strange that based on the position of the Values it shows a value but rearrage them it does not show the value.

 

Thanks

 

See this article for help:

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-show-items-no-data

As it says near the bottom, Power BI treats Show Items with no data as a Left Outer Join:

Notice how (Gloss-Red) and (None, blank) appeared as combinations. Here is the reason they appeared:

Power BI first considered ProductStyle[Finish] and selected all the values to display - this resulted in Gloss, Matte, None.
Using each of these values, Power BI selected all the corresponding Product[Color] entries
Since None does not correspond to any Product[Color], a blank appears for that value
It's important to note that the mechanism of selecting values for the columns is order-dependent, and can be thought of as a Left outer join operation between tables. If the order of the columns is changed, the results will change as well.

Let's look at an example of changing the order, and how it impacts results. This is the same as item 2 in this section, with the ordering changed.

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

Thanks @AllisonKennedy so I need to make sure all the fields in the Table that relate to Visits need to appear first and fields from EngineerCalendar to appear after them

Anyone have an answer for this?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.