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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Power BI Dax questions

I am building a report card like dashboard that only needs to show all 31 courses (whether completed or not), the weighted score(score * weight of course), and attempts taken to complete course. Sample data is as follows :

Course NameScorePointsAttemptsNameWeighted Score (score * point weight) 
Lesson 180101Jim Bob8
Lesson 290102Tex Mex9
Lesson 3100101Jacki Chan10
Lesson 487102John Doe8.7
Lesson 570101Onna Fairway7
Lesson 667101Geek Guy6.7
Lesson 798101Skeeg9.8
Lesson 840101Danny Downs4
Lesson 978101Tex Mex7.8
Lesson 1090101Bad Worker9
Lesson 1190101Good Worker9
Lesson 1280102Onna Fairway8
Lesson 1390103Jim Bob9
Lesson 1480101Jim Bob8
Lesson 1570105John Doe7
Lesson 1689102Jacki Chan8.9
Lesson 1780105Tex Mex8
Lesson 1878104Danny Downs7.8
Lesson 1987101Good Worker8.7
Lesson 2098101Good Worker9.8
Lesson 2189101Chris Mendez8.9
Lesson 2277102Sherry Lien7.7
Lesson 2388102Onna Fairway8.8
Lesson 2499102Jim Bob9.9
Lesson 2560102Skeeg6
Lesson 2658102Skeeg5.8
Lesson 2701001Tex Mex0
Lesson 280501Onna Fairway0
Lesson 2901001Geek Guy0
Lesson 3001001Geek Guy0
Lesson 3101001Tex Mes0

 

First issue:

I cannot get all 31 courses to show and be a static table. When using the "employee" as a slicer the table adjusts to only the completed courses. How do I join a table to my "report card data" so that it will be static and only adjust per employee slicer. 

Second issue:

I am having trouble with the attempts affecting the weighted score. In the image below you can see that the weighted score should not be over "10". But if a course was attempted 3 times then the weighted score is tripled. How can we fix this to have these two fields not correlate. 

CARTERDX_0-1720615324230.png

 



3rd issue:

I have used the "enter data" to create a table of just the list of 31 courses. In order to get the 31 courses to stay how can I build the same measures in this "course list table" or can I just use the ones from my "report card data".

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

For your first question, you need to have the same attribute columns between the two tables in order to make the association, that is to say, the report card data and the table of the sample data need to have a column that meets the similar characteristics at the same time in order to establish the relationship, and after the relationship is established, apply the RELATED function to make the connection and then you can add the Slicer.


For your second question, it looks like you only need to use the Score and Point columns in the table. So you can create a Calculated Column.

Column = 'Table'[Score]/'Table'[Points]

vyilongmsft_0-1720753991122.png

 

For your third question, you can certainly apply the same MEASUREMENT in a newly created form, and you can make your own attempts.

 

 

 

Best Regards

Yilong Zhou

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

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous ,

For your first question, you need to have the same attribute columns between the two tables in order to make the association, that is to say, the report card data and the table of the sample data need to have a column that meets the similar characteristics at the same time in order to establish the relationship, and after the relationship is established, apply the RELATED function to make the connection and then you can add the Slicer.


For your second question, it looks like you only need to use the Score and Point columns in the table. So you can create a Calculated Column.

Column = 'Table'[Score]/'Table'[Points]

vyilongmsft_0-1720753991122.png

 

For your third question, you can certainly apply the same MEASUREMENT in a newly created form, and you can make your own attempts.

 

 

 

Best Regards

Yilong Zhou

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.