Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 43 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 24 |