Complete the code to create a basic bar chart showing sales by category.
SUM([1])The SUM aggregation of the Sales field is used to show total sales in the bar chart.
Complete the code to filter the data to only include the year 2023.
YEAR([Order Date]) = [1]Filtering on YEAR([Order Date]) = 2023 restricts the data to orders made in 2023.
Fix the error in the calculated field to show profit ratio as a percentage.
(SUM([Profit]) / [1]) * 100
The profit ratio is profit divided by sales, so the denominator should be SUM([Sales]).
Fill both blanks to create a filter that shows only categories with sales greater than 10000.
IF SUM([Sales]) [1] [2] THEN 'Show' ELSE 'Hide' END
The condition SUM([Sales]) > 10000 filters categories with sales above 10,000.
Fill all three blanks to create a calculated field that returns the profit ratio only for the 'Technology' category.
IF [Category] = [1] THEN SUM([3]) / SUM([2]) ELSE NULL END
The condition checks if the category is 'Technology'. Then it calculates profit ratio as SUM([Profit]) / SUM([Sales]). The else returns NULL.