Microsoft power bi is great tool to find insight from data. Here we discuss 20 types of questions to find insight from data .We use Power bi Data analytics expression to solve these questions one by one.
First of all we have to import data in power bi and then find useful answer of the questions
In the above example, we are creating a new table called “SummaryTable” using the SUMMARIZE function. We group the data by the “Category” column from the “Sales” table and calculate the total sales and total quantity using the SUM function.
Total Discount Given = SUM(‘sales'[Discount])
create a summary of total sales and quantity
The SUMMARIZE function in Power BI is used to create a summary table or group data based on one or more columns. It is often used in combination with other aggregation functions like SUM, COUNT, AVERAGE, etc. Here’s an example of how to use the SUMMARIZE function in a dataset:
Open Power BI Desktop and load your dataset into the data model.
Go to the “Modeling” tab in the Power BI Desktop.
Click on “New Table” to create a new calculated table.
In the formula bar, write the following syntax using the SUMMARIZE function:
calculate the total discount given, you can create a measure in Power BI using DAX. Assuming you have a table named “Sales Performance” that includes a column named “Discount,” you can use the following DAX formula:
Total Discount Given = SUM('sales'[Discount])
Maximum order by country
To find the maximum order by country in the given table using DAX in Power BI, you can use the following steps:
Open Power BI and navigate to the “Report” view.
Go to the “Modeling” tab in the ribbon and click on “New Measure” to create a new measure.
Use the following DAX measure to calculate the maximum order amount for each country:
MaxOrderID = MAX('sales'[Country])
Minimum Order by Country
To find the maximum order by country in the given table using DAX in Power BI, you can use the following steps:
Open Power BI and navigate to the “Report” view.
Go to the “Modeling” tab in the ribbon and click on “New Measure” to create a new measure.
Use the following DAX measure to calculate the maximum order amount for each country:
MinOrdercountry = Min('sales'[Country])
20 DAX function in Power Bi to get insight
Explore Data Analytics Resources
Best Data Analytics Course in Dehradun
Discover one of the best data analytics courses designed to build your career in analytics and business intelligence.