Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I want to have a bar chart where the FDI country name is the Y-axis, and viewers can select CapEx (sum of $), Jobs (sum), and Project Count (represented by count of the NE column). I need help with the DAX or a step-by-step visual tutorial on how to create this field parameter. It is unclear to me if I need to first make measures for Jobs, CapEx, and NE (count of projects). The table is: "2017-2023 FDI"
Solved! Go to Solution.
Here you go:
Yeah, rule of thumb, always create measures for anything, even if it is just the sum of a column.
Here you go:
Yeah, rule of thumb, always create measures for anything, even if it is just the sum of a column.
will you show me how to make the measure for the project count (since I cannot use sum)?
Project Count = COUNT('Table'[NE])
Hi @buddycho
Yes you need to create measures for any calcualtions first.
Otherwise Power BI will treat them as categories.
Here is a step by step: https://www.wiseowl.co.uk/blog/s3054/field-parameters.htm
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
56 | |
56 | |
38 | |
29 |
User | Count |
---|---|
75 | |
62 | |
45 | |
40 | |
40 |