Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a column which look like this:
Category |
new order |
old order |
cancelled order |
pending |
cancelled order |
new order |
new order |
pending |
new order |
pending |
What I want is that I want to make a measure total of each one in that category column.
For example new order = 120
pending = 200
Solved! Go to Solution.
Hi @selected_ ,
Please create a measure like this.
Measure = COUNT(Sheet5[Category])
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@selected_ , A measure like
Sumx(Table, Switch( True() , [Category] = "new order" ,120 , [Category]="pending ",200,0))
I don't have the values of each one in that category that's why I wanna calucate a measure count on how many "new order" or "pending" are in that category.
@selected_ ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
The column in my dataset look like this, new order and pending with more than one records
Category |
new order |
new order |
new order |
new order |
new order |
new order |
pending order |
pending order |
pending order |
What I for output it gonna count amount new order and pending in each column order in to a new table like this
Category | Total |
new order | 6 |
pending order | 3 |
Hi @selected_ ,
Please create a measure like this.
Measure = COUNT(Sheet5[Category])
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |