Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I need to create a table view with columns that are something like filters of the data in date ranges. I have all of my data in rows with dates and values but cannot figure out how to create the calculated columns or measures to reproduce the below table.
My data is currently laid out with the values on the left (revenue, COGS, etc.) as columns in the table like the below but need to flip and calculate:
(excuse the percentages, these are translated to $)
Hi @mfrye ,
Just put the date field in rows of matrix and revenue in values like the following.Select the aggregation method via the drop-down menu.
Result:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
A couple of comments
- you can use "Show on rows" for values in a matrix
- you can consider using Calculation Groups to streamline the measures
- you cannot have empty rows in a visual unless you employ severe trickery
Please provide sanitized sample data that fully covers your issue. If you paste the data into a table in your post or use one of the file services it will be easier to work with.
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 |
---|---|
109 | |
102 | |
84 | |
79 | |
68 |
User | Count |
---|---|
120 | |
110 | |
94 | |
81 | |
77 |