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
koorosh
Post Partisan
Post Partisan

missing value

Hello Experts, Have a list that shows partners enrolled in courses, how to make a report that shows missed courses by each partner.

 

koorosh_0-1598331901702.png

 

3 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@koorosh , Create new table like

New table =except(crossjoin(all(Table[partner]),all(Table[Course Name])), selectcolumns(Table,"partner", Table[partner], "Course Name",Table[Course Name]))

 

https://docs.microsoft.com/en-us/dax/except-function-dax

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

View solution in original post

cross join expect 2 inputs ,,,, you are including both columns in ALL statement... separate both columns

 

CrossJoin( all(Sheet1[Partner]), all(Sheet1[Course Name]))







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




View solution in original post

HI @koorosh ,

 

 

1.jpg

 

2.JPG

 

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

View solution in original post

12 REPLIES 12
FarhanAhmed
Community Champion
Community Champion

1- you need to separate Course from Orignal table, i.e. a table that contains all courses. From this table you can create course table like this.

 

Course = SUMMARIZE(Partner,Partner[Course])

 

2- Then join this table with your main table.

3- Create a matrix visual

4- Put Partner from partner table in Rows

5- Put Course from course table(new summarized table) in columns

6- create a measure for missed count

Missed Course = IF(COUNT(Partner[Course])>0,BLANK(),1)

7- Drop this measure in Values and see the results

 

 







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




amitchandak
Super User
Super User

@koorosh , Create new table like

New table =except(crossjoin(all(Table[partner]),all(Table[Course Name])), selectcolumns(Table,"partner", Table[partner], "Course Name",Table[Course Name]))

 

https://docs.microsoft.com/en-us/dax/except-function-dax

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

Why get error Amit?

 

koorosh_0-1598335708394.png

 

Hi @koorosh ,

 

You need to add a   )   after Sheet1[CourseName]

 

Create a Table

 

T2 = except(crossjoin(all('Table'[User]),all('Table'[CourseName])),selectcolumns('Table',"partner", 'Table'[User], "Course Name",'Table'[CourseName]))

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

 

cross join expect 2 inputs ,,,, you are including both columns in ALL statement... separate both columns

 

CrossJoin( all(Sheet1[Partner]), all(Sheet1[Course Name]))







Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!

Proud to be a Super User!




The result is wrong,

koorosh_0-1598337587443.png

In the new table "arad" should be shown with "B" and "C" course.

Hi @koorosh ,

 

Your Sheet1 Table in the Visualization Pane should have values from New Table.

 

Here in the screenshot the values are selectd from the sheet1 table.

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Thanks to all gentlemen, Amit, Farhan, Harsh.

 

Hi, Again Experts, why partner name slicer does not work for both tables?

 

koorosh_0-1598342964258.png

 

In the main table (sheet1) arad enrolled in "A" and "D" course. In the new table, we are looking for missed courses for arad!

 

HI @koorosh ,

 

 

1.jpg

 

2.JPG

 

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

New_Table = EXCEPT(CROSSJOIN(all(Sheet1[Course Name]),all(Sheet1[Partner])),
SELECTCOLUMNS(Sheet1,"partenr",Sheet1[Partner],"course",Sheet1[Course Name]))
 

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 Fabric 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.