Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi All,
I have a table with my comments and months columns.
i want each month column should be grouped based on there comments.
i have used groupby but its applied for one column only ie aug,when i am using the same groupby dax for the other column its showing error table of multiple values.
can any one please help .
Solved! Go to Solution.
Hi @PooBIDeveloper ,
Here are the steps you can follow:
1. Enter the power query, select the column with month identification, such as [17Aug21], [5Jun21], [6Sep21], click Transform – Unpivot Columns.
Result:
2. Create measure.
Count_Measure =
CALCULATE(COUNT('SampleTable'[Value]),FILTER(ALL('SampleTable'),'SampleTable'[Value]=MAX('SampleTable'[Value])&&'SampleTable'[Attribute]=MAX('SampleTable'[Attribute])))
3. Result:
Best Regards,
Liu Yang
Hi @PooBIDeveloper ,
Here are the steps you can follow:
1. Enter the power query, select the column with month identification, such as [17Aug21], [5Jun21], [6Sep21], click Transform – Unpivot Columns.
Result:
2. Create measure.
Count_Measure =
CALCULATE(COUNT('SampleTable'[Value]),FILTER(ALL('SampleTable'),'SampleTable'[Value]=MAX('SampleTable'[Value])&&'SampleTable'[Attribute]=MAX('SampleTable'[Attribute])))
3. Result:
Best Regards,
Liu Yang
Hi Liu Yang it works..thanks a lot...
but that horizontally total is not showing correctly...
Hi v-yangliu-msft ,
Thanks for your revert
i dont have any date column ,or table below is the sample of the excel from that i have to group the commnets which are in aug,mar and june.
from above excel i have to make belor report
i have achived this but for only column ie aug , but unable to do the same for the other columns
Hi @PooBIDeveloper ,
I created some data:
Here are the steps you can follow:
1. Create measure.
count_group =
COUNTX(FILTER(ALL('Table'),'Table'[comments]=MAX('Table'[comments])&&MONTH('Table'[Date])=MONTH(MAX('Table'[Date]))),[comments])
hasonevalue =
var _table=SUMMARIZE('Table', 'Table'[comments] ,"__value", [count_group])
RETURN
IF(HASONEVALUE('Table'[comments]),[count_group],SUMX(_table,[__value]))
2. Put it into the matrix
3. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hii..
any suggestions??
if i am using same dax with other column nmae it shows error table of multiple value
@PooBIDeveloper , Try to group comments like this
concatenatex(Table, Table[Comments], ",")
or
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
thanks for ur repy.
below is the sample for the same
ok
I have an excel sheet which have customer names,sales,state,region etc.
in that sheet i have every column name such as 17Aug21,13 jun21,10mar21 and this month column name will be added every month.
in month column name(17Aug21,13june21) i have data such as CANNOT BE APPLIED,CONFIRMATION PENDING:-CUSTOMER AND SP ,CUSTOMER HAS TO ACCEPT THE LINK etc bases on the customer name
so basically i want the count of the comments of every month ie if i select the column 17aug21 in this column if i select value CANNOT BE APPLIED, it will show the values CANNOT BE APPLIED, and i want the count of this value.say its is repeated 10 times for in 17Aug21 .
so comments 17aug21 mar21 aug21
CANNOT BE APPLIED, 10 12 44
i am looking to make the above table.
i have used
any suggestions....
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
42 | |
30 | |
27 | |
27 |