I need to make a dynamic graphic in such a way:
if any record is selected in "year" (for example "2020"), I get a graph with purchases evolution by month
if any record is selected in "month_name" (for example, "February"), I get that graph by day of month
Related
Looking for some help to calculate the cost increase/decrease between two date points per product. I would like to display any increases/decreases per item. Each item in the list are part of a BOM for an overall product. An example scenaro is needing to show any cost differences between 2022-03-01 & 2022-04-01 which would show changes in A ($0.50) and C ($0.20).
I'm guessing I would need to utilize the MAX/MIN functions in a measure, but having trouble creating a measure that compares each item. There are too many date points to due the calculation per date via a new column and all the data is unpivoted.
2 date values are selected via the standard PBI slicer visual
The underlying data format in PBI is displayed below:
Power BI Data Format
I am trying to put together a report in which I have 2 card visuals (for two separate years) that show the total number of stores that sell at least an average N of products each month.
The measure I tried making in Dax finds average sold by year, but would I also need to take store into account there within the measure?
Either way the Card visual wont let me filter by my measure
Here is a very simplified version of the data: Sample Dummy table
Essentially wanting to show one card that shows the number of stores that are averaging at least 2 sales per month so far this year. And one that shows the same metric to this point in the prior year
I also have my table linked to a calendar table
I'm working with power bi service, I want to visualize a monthly data but the months of the year aren't arranged in chronological order, how do i fix this
The dataset you're using in Power BI service must be edited to sort the month names by month number. This is a data modeling issue, and you cannot achieve your goal purely through service reporting tools. You did not specify what type of data source you have. Since Power BI Desktop is the data modeling tool for Power BI Service, I have explained how to do this with Power BI Desktop.
The best method is to create a calendar table and relate it to your fact table. Here is an article on creating one with DAX. In your calendar table, you should have a column containing the ordinal month number (1-12) and the month name. I like one column with the month short name (Jan, Feb, Mar...) and one with the month long name (January, February, March...). For each of the month name columns, select the column in the field well, in the app menu, select Column Tools > Sort by column and choose the month ordinal number column to sort the name column.
If you have a fact table with just month names in it and you want to do something quick and dirty, you can create a month ordinal number column on the fact table and sort the existing month name column by that.
Month Number = MONTH(DATEVALUE(YourTable[YourMonthNameColumn] & " 1, 2022"))
Ive got data in power BI pulled from SQL.
Columns are :
Date, SiteName, PersonName, SalesNumber,
What I want to do is to have a table to show the Date and then in that show the top 5 PersonName and the Sales Number.
Each day will show the different peoples name and the volume.
I need it to be dynamic so that If i then select a specific site it will pull the top 5 from that specific site.
Example Outcome
In Power BI, I am creating a grid to show specific data in a time period. I want the grid to update everyday to show the data corresponding month to date. I want my data to represent 9/7 - 10/7 and tomorrow I want it to update to show 9/8-10/8. Essentially I want a measure in DAX to display all data from month to date.
You can do this from relative date filter in the right side tabs,
Select visualization and their is filter for date,
try with above method.