Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I have a table in Data View. It contains one column (Country). I need to create a new column which should contain the number of rows in the table. Now when a user who has access to two countries, he should see only two countries with 2 as value in the new column. Please note that I do not want to create a measure but a new column in the exisiting table.
Country | Column in Table (Row Count) |
Aus | 4 |
Eng | 4 |
SG | 4 |
US | 4 |
After Applying Row Level Security Access:
Country | Column in Table (Row Count) |
Aus | 2 |
Eng | 2 |
I think it's okay for you to have security in the measure.
After that, you need to Calculate the number of rows in your table as a Column
Regards,
Ritesh
@Krishnan_47 , As you can not userprincipalname in a column, I doubt that is possible.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
57 | |
38 | |
36 |
User | Count |
---|---|
81 | |
67 | |
62 | |
46 | |
45 |