The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
We have a single table and I need to create a monthly chart which shows. Total items opened vs Active vs closed. I cannot do the count of the "total items opened" in the chart filter and still get the other status e.g. open vs closed. I am thinking I need a calculated column but I am new at this and am having troubles. Thanks
Solved! Go to Solution.
Hi @MegaCleanCab,
Suppose source table is like below:
Then, you can create three measures similar to:
all items count = SUM('Monthly data'[Sales]) active items count = CALCULATE(SUM('Monthly data'[Sales]),FILTER('Monthly data','Monthly data'[Type]="Active")) closed items count = CALCULATE(SUM('Monthly data'[Sales]),FILTER('Monthly data','Monthly data'[Type]="Closed"))
Best regards,
Yuliana Gu
Hi @MegaCleanCab,
Suppose source table is like below:
Then, you can create three measures similar to:
all items count = SUM('Monthly data'[Sales]) active items count = CALCULATE(SUM('Monthly data'[Sales]),FILTER('Monthly data','Monthly data'[Type]="Active")) closed items count = CALCULATE(SUM('Monthly data'[Sales]),FILTER('Monthly data','Monthly data'[Type]="Closed"))
Best regards,
Yuliana Gu
Hi,
Share your source data.
I cannot share the actual data as its confidential. The source is vsts. thanks
I took some time and purged the data. I left some of the columns from the table and changed the values. Let me know if it works. Also how do I upload?
User | Count |
---|---|
75 | |
70 | |
39 | |
30 | |
28 |
User | Count |
---|---|
104 | |
95 | |
51 | |
48 | |
46 |