Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi Guys,
From the table below, I want to have the same view in power bi table as it is here using a measure. I know that if there is only one value by date I could use "Max".
I want to know if it is possible to show all the value if there are many values for one date using a measure.
Using "selectedvalue" is not an option here, coz it will also be used in a bar chart.
Thank u
Solved! Go to Solution.
What do you want the measure to do? SUM, AVG. MAX, MIN, etc. A measure is not for listing a value from one row. It is a calculation to do some aggregation on the data.
If you use SUM(value), then you would have to list the unique columns (Primary Key) of the table to get one row per row in the table
I wanted to know if there where a measure that could list a value from one. I get my answer.
Thank you for your reaction
@Bwendos_Den Typically one would use something like ADDCOLUMNS and SUMMARIZE where the ADDCOLUMNS would be your measure. If not that, I don't know what you want exactly. Sample data and expected output always helps.
Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882
Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.
What do you want the measure to do? SUM, AVG. MAX, MIN, etc. A measure is not for listing a value from one row. It is a calculation to do some aggregation on the data.
If you use SUM(value), then you would have to list the unique columns (Primary Key) of the table to get one row per row in the table
User | Count |
---|---|
84 | |
76 | |
74 | |
49 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |