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.
As shown below, I have a table (Table 1) in long format with three columns: Period (from 1 to 3), FS_Item (Revenue, COGS, OPEX, Assets), and Amount (numerical). From that table, I can create a Matrix visual (similar to second image below) that filters out one value from FS_Item (Asset) and sums up the remaining three values to come up with a Total column (Revenue - COGS - OPEX).
I would like to create a Chart that plots Period and Total (the yellow highlighted columns). I assume that I would first need to create a table that is identical to my Matrix visual.
Any help would be greatly appreciated. Thanks.
.
Solved! Go to Solution.
Simply create a new measure with the following formula:
Amount New = CALCULATE(SUM(Sheet1[Amount]), FILTER(Sheet1, Sheet1[FS_Item] IN {"Revenue", "COGS", "OPEX"}))
And then create the table orgraph based on Period and Amount New fields
See attached file:
Great, thanks very much. I had figured out a longer formula (see below), but yours is much more efficient.
Long version of formula:
Amount New = CALCULATE(SUM(Sheet1[Amount]),Sheet1[FS_Item]="Revenue") + CALCULATE(SUM(Sheet1[Amount]),Sheet1[FS_Item]="COGS") + CALCULATE(SUM(Sheet1[Amount]),Sheet1[FS_Item]="OPEX")
Simply create a new measure with the following formula:
Amount New = CALCULATE(SUM(Sheet1[Amount]), FILTER(Sheet1, Sheet1[FS_Item] IN {"Revenue", "COGS", "OPEX"}))
And then create the table orgraph based on Period and Amount New fields
See attached file:
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 |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |