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

Did 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

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.