This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
All,
I need some help. I am trying to count the number of unique values in a Column from one table and have them entered into a new table that has a list of each unique value in column A of a new table. My solution is coming up incorrect right now.
Here is an example Column from the data set:
| Asset - Use |
| Academic |
| Other |
| Academic |
| Multipurpose |
| Academic |
Now I made a new table with two columns, the first brings out a simple list of these Text lables. I would like to second to count the number of each Asset - Use label
| Asset - Use | Sample Size |
| Academic | 3 |
| Other | 1 |
| Multipurpose | 1 |
My expression is currently only giving me 1's in each row. Here it is:
Solved! Go to Solution.
Hi @Anonymous
TotalCount =
VAR _TotalCount = CALCULATE ( COUNTROWS ( 'tbl_AssetFreq' ) , FILTER ( 'tbl_AssetFreq' , 'tbl_AssetFreq'[AssetFrequency] = 'tbl_AssetCategory'[Asset - Use] ) )
RETURN
_TotalCount
No relationship required in the above. The "tbl_AssetFreq" is simply the below:
Hope this helps 🙂
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Hi @Anonymous
TotalCount =
VAR _TotalCount = CALCULATE ( COUNTROWS ( 'tbl_AssetFreq' ) , FILTER ( 'tbl_AssetFreq' , 'tbl_AssetFreq'[AssetFrequency] = 'tbl_AssetCategory'[Asset - Use] ) )
RETURN
_TotalCount
No relationship required in the above. The "tbl_AssetFreq" is simply the below:
Hope this helps 🙂
If I have posted a response that resolves your question, please accept it as a solution to formally close the post.
Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!
Want to connect?www.linkedin.com/in/theoconias
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |