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

View all the Fabric Data Days sessions on demand. View schedule

Reply
IvanRivera4
Regular Visitor

Create table with dynamic pivot colum

Hi everyone,

 

I'm new on Power Bi and I need to create a table in which I could change the pivot colum to see the same KPI

 

Something like this:

 

NAME | MONEY | %   | 

JUAN  | 100        | 3% |

MIKE  | 50          | 2% |

MARIA | 40       | 10% |

 

Then with an arrow or something, chage it to gender

 

GENDER | MONEY | % |

MALE     |  150      |   5% | 

FEMALE |   40        | 10%|

 

 

and, for age

 

RANGE | MONEY |  %  |

10-20   | 140       | 13%|

20-30  | 50         | 2%   |

 

Thank you and regards.

 

 

 

 

GENDER

 

2 REPLIES 2
P3Tom
Helper I
Helper I

My thoughts.

 

So your source table is going to have columns like:

 

Name, Gender, Age Range, Money

 

Just create you measures for Money and Percent. Manually replace Name, Gender, and Age Range for rows as needed (its just as easy as clicking a button).

 

Filter context takes care of the rest.

Anonymous
Not applicable

Hi @IvanRivera4,

 

Current power bi not support to dynamic change group column, you should manually switch the group column to show different summary result.

 

Calculate column 'Range':

 

Range = INT([Age]/10)*10&"~"&(INT([Age]/10)+1)*10 

 

 

Drag group, money, % columns to table, then switch summary mode of money and % column to sum. 

7.PNG

 

 

Result:

6.PNG

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors