Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Employees : all Employees in the company
Employees VIP : Employees having the status of VIP in the company
Employees TIC : Employees having the status of TIC in the company
The relationships between the tables :
Employees - Employees VIP : 1 to many , filter in both directions based on EmpID
Employees - Employees TIC : 1 to 1 , filter in both directions based on EmpID
I am using in a visual columns from the 3 tables :
Employees : EmpID, EmpName, EmpLastName
Employees VIP : Status VIP
Employees TIC : Status TIC
I have this visual where I use data from Employees and Employees TIC :
When I try to add for the previous visual, columns from Employees VIP :
Now I want to show all the Employees, either they belong or not to any VIP or TIC so I selected Show items with no data :
When I try to change the order of the Staus VIP to be before Status TIC :
The display of data changes for the Employees E,F, G and H, I can"t understand this behaviour :
Solved! Go to Solution.
I ended up finding the answer to this behavior :
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-show-items-no-data
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 change as well.
powerbi - Show items with no data is not giving expected result - Stack Overflow
I ended up finding the answer to this behavior :
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-show-items-no-data
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 change as well.
powerbi - Show items with no data is not giving expected result - Stack Overflow
@AmiraBedh regarding VIP table, I see it has one to many relationship, do you expect more than one record for employees, although TIC is 1 to 1
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
If I change the relationship to 1 to 1 it gives the expected result, but I cannot change it in the real model as it is 1 to many. Any workaround ?
@AmiraBedh so I reviewed the queries and the engine is doing different queries when you move the column positions in the visual:
Basically this part of the query is different in both the case and causing the result:
//showing tic then vip
// DAX Query
DEFINE
VAR __DS0PrimaryShowAllCompat =
//
// CALCULATETABLE(
// GENERATEALL(
// KEEPFILTERS(VALUES('Employees'[EmpName])),
// CALCULATETABLE(
// GENERATEALL(
// KEEPFILTERS(VALUES('Employees'[EmpLastName])),
CALCULATETABLE (
GENERATEALL (
KEEPFILTERS (
FILTER (
KEEPFILTERS ( VALUES ( 'Employees TIC'[Status TIC] ) ),
OR (
CALCULATE ( NOT ( ISEMPTY ( 'Employees TIC' ) ) ),
CALCULATE ( NOT ( ISEMPTY ( 'Employees VIP' ) ) )
)
)
),
CALCULATETABLE (
FILTER (
KEEPFILTERS ( VALUES ( 'Employees VIP'[Status VIP] ) ),
CALCULATE ( NOT ( ISEMPTY ( 'Employees VIP' ) ) )
)
)
)
) // )
// )
EVALUATE
__DS0PrimaryShowAllCompat
//vip first then tic
// DAX Query
DEFINE
VAR __DS0PrimaryShowAllCompat =
// CALCULATETABLE (
// GENERATEALL (
// KEEPFILTERS ( VALUES ( 'Employees'[EmpLastName] ) ),
CALCULATETABLE (
GENERATEALL (
KEEPFILTERS (
FILTER (
KEEPFILTERS ( VALUES ( 'Employees VIP'[Status VIP] ) ),
CALCULATE ( NOT ( ISEMPTY ( 'Employees VIP' ) ) )
)
),
CALCULATETABLE (
FILTER (
KEEPFILTERS ( VALUES ( 'Employees TIC'[Status TIC] ) ),
CALCULATE ( NOT ( ISEMPTY ( 'Employees VIP' ) ) )
)
)
)
) // )
// )
EVALUATE
__DS0PrimaryShowAllCompat
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
So it is a normal behavior?
How to achieve what I want in this case ?
@AmiraBedh Very hard to reach, I wish you had put that as the code. Can you share the sample pbix file to look into it?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
You can find the link to Google Drive : https://drive.google.com/drive/folders/1-rk-VKwYrGdbY7q_cjk_3TlBbAtH3U-H?usp=sharing
@AmiraBedh that's interesting. Can you get the DAX query for both cases using a performance analyzer to see what is happening behind the scenes.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.