Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello all,
I have three columns of categories (with associated dates) that I would like to get a count of, by quarter, and then make a stacked bar chart.
The data looks like below:
Date Embedded Applicable SentOut
1/12/18 Yes No Yes
1/15/18 Yes Yes Yes
.
.
.
3/23/19 No No No
I would like to make a stacked bar that would have the quarters of each year on the x-axis and a bar that shows how many 'yes' occurred in each category (embedded, applicable, sent out) for each of the quarters.
I have already made a column that corresponds to the quarter of the year, but am at a bit of a loss on how to proceed. Some hints would be very very much appreciated!
@annaY - You need a DAX Measure for each category like this:
Count Embedded Yes = COUNTROWS(FILTER(<YourTable>,<YourTable>[Embedded]="Yes"))
Then you can add all 3 Measures as Values in your chart.
Cheers!
Nathan
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
84 | |
84 | |
72 | |
49 |
User | Count |
---|---|
143 | |
130 | |
108 | |
64 | |
55 |