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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
JordanJarron
New Member

2 Way Table

Hello everyone,

 

I am trying to create a two way table in Powerbi,

 

I have a list of projects with tenure and headcount, 

 

The table I would like to create would have:

Columns: Tenure by group (<1 year, >1 year etc) 

Row: Headcount <50, >50, >100 etc

 

The "values" in the table would then be the project names:

 

 <1 Year>1 Year>2 Years
<50 Headcount

Project A

Project E

Project F

 Project D
>50 

Project B

Project G

 
>100 Project C 

 

Is that something possible on Powerbi?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JordanJarron 

 

Thanks for the reply from danextian .

 

Can you accept the output shown in the screenshot? If so, please refer to the following test.

vxuxinyimsft_1-1734921046756.png

 

Sample:

vxuxinyimsft_0-1734920994409.png

 

Create a measure as follows

Measure = CONCATENATEX(FILTER('Table', 'Table'[Headcount Group] = MAX([Headcount Group]) && 'Table'[Tenure Group] = [Tenure Group]), [Project], ",")

 

 Then select the Matrix visualization and place the fields in the corresponding positions.

vxuxinyimsft_2-1734921161910.png

 

Best Regards,
Yulia Xu

 

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

3 REPLIES 3
danextian
Super User
Super User

Seems possible but no sample data test.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

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


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Here to me the important part is the result, the dataset I can rework it, 

 

You can expect raw data to be like that:

 HeadcountHeadcount GroupStart DateTenure Group
Project A30<50January 2024<1 Year
Project B80>50August 2023>1 Year
Project C120>100July 2023>1 Year
Anonymous
Not applicable

Hi @JordanJarron 

 

Thanks for the reply from danextian .

 

Can you accept the output shown in the screenshot? If so, please refer to the following test.

vxuxinyimsft_1-1734921046756.png

 

Sample:

vxuxinyimsft_0-1734920994409.png

 

Create a measure as follows

Measure = CONCATENATEX(FILTER('Table', 'Table'[Headcount Group] = MAX([Headcount Group]) && 'Table'[Tenure Group] = [Tenure Group]), [Project], ",")

 

 Then select the Matrix visualization and place the fields in the corresponding positions.

vxuxinyimsft_2-1734921161910.png

 

Best Regards,
Yulia Xu

 

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.