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.
Hey there,
I'm rather new to PowerBi hence wanted to get some insights.
I have gotten a dataset where i'm trying to count the number of times a certain keyword appears and transform it into another table. However as it is not as simple as Excel, I was wondering if anyone could advice?
I tried to do a quick illustration using Excel
Hi @Anonymous ,
I would always go for PQ for these types of transformations, but you still could manually unpivot your table with DAX.
UNPIVOTED TABLE =
UNION (
SELECTCOLUMNS (
'Table',
"Opportunity Number", 'Table'[Opportunity Number],
"Value", 'Table'[Criteria 1],
"Attribute", "Criteria 1"
),
SELECTCOLUMNS (
'Table',
"Opportunity Number", 'Table'[Opportunity Number],
"Value", 'Table'[Criteria 2],
"Attribute", "Criteria 2"
),
SELECTCOLUMNS (
'Table',
"Opportunity Number", 'Table'[Opportunity Number],
"Value", 'Table'[Criteria 3],
"Attribute", "Criteria 3"
)
)
Hi @Anonymous ,
Would you consider first to unpivot the table in the PQ editor? This would ease things.
Hi @Payeras_BI ,
Thanks for the tip. However, the data that i need to pivot is not from the Raw Data set. I've manipulated the raw data sets using from DAX formulas outside the PQ Editor. Is there a way to do it outside the PQ editor?
Thanks!
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 |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
15 | |
13 | |
11 | |
9 | |
8 |