Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
Recently I have tried creating a customized column chart where I have three different columns.
And I want to create a separate column in that particular panel which would represent the summation of the count of two of the existing columns in the panel.
Is there any way to reflect that ?
E.g.
In the above column chart, I want to create a separate column in the panel itself that will be the sum of "count of data.os" of status 684475811 and "count of data.os" of status 684377638.
Solved! Go to Solution.
hi @Soumya_1998
Yes you can, for example
With this DAX
Looking for a separate Bar itself, in that case
Step1
Create a Calculated Table based on these two Status(FILTER), You can give alias as Combined
SUMMARIZE( <table>, <groupBy_columnName>[, <groupBy_columnName>]…[, <name>, <expression>]…)
where:
>>Understand Summarize DAX function in Power Bi - Power BI Docs
Step 2
Union this with your table
Using calculated tables in Power BI Desktop - Power BI | Microsoft Docs
Now your table is something like
Category
Furniture
Technology
Home office
Combined
Now this will act like a regular table with the desired results
Regards,
Ritesh
You could create a group with those two status values:
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-grouping-and-binning
|
Please accept the solution when done and consider giving a thumbs up if posts are helpful. Contact me privately for support with any larger-scale BI needs, tutoring, etc. |
Thanks for the solution.
Actually I also want to keep the other two columns (used for grouping) in the panel. Is there a way to keep them as well along with the grouped column ?
hi @Soumya_1998
Yes you can, for example
With this DAX
Looking for a separate Bar itself, in that case
Step1
Create a Calculated Table based on these two Status(FILTER), You can give alias as Combined
SUMMARIZE( <table>, <groupBy_columnName>[, <groupBy_columnName>]…[, <name>, <expression>]…)
where:
>>Understand Summarize DAX function in Power Bi - Power BI Docs
Step 2
Union this with your table
Using calculated tables in Power BI Desktop - Power BI | Microsoft Docs
Now your table is something like
Category
Furniture
Technology
Home office
Combined
Now this will act like a regular table with the desired results
Regards,
Ritesh
Thank you so much Ritesh !
Hi @Soumya_1998
Would you like to mark the answer if it helped you so that it can help others as well
Regards,
Ritesh
You are welcome :),
Mark my post as a solution if it helped you| Munde and Kudis (Ladies and Gentlemen) I like your Kudos!! !!
My YT Channel Dancing With Data !! Connect on Linkedin !!Power BI for Tableau Users
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
138 | |
107 | |
104 | |
82 | |
63 |