one action has several situations differing on date.
I want the chart to show only the latest situation when nothing is filtered, but when the user filters another date I want the situation to adapt correctly
Image
Related
I have a dashboard with two slicers. First slicer is selecting stages of building homes ( trench, frame, roof etc) second slicer is end date time. Both slicers are using the fields exist in the same table. Users want to select two stages lets say stageA and stageB, and the date selection is 12/1/2022 to 1/1/2023 now we have stages with end date time in a table view. In the future users want to see even if latest stage is within the date slicer it doesnt matter even if the earlier stage is within the date slicer or "before" they want to see it SO THAT they can look at these two date's variance! Any help would be appreciated. Thanks !
I have been looking online for one week, couldn't find any solution
Two-line graph with slicers: Everything looks fine until date selections are made.
I figure that this failure has something to do with the line graph and date functionality. Date selections work together in a very weird way. Selecting only 2019 months and then only 2020 months, both lines disappear.
If the date slicers are going to work together, I should expect inclusive behavior, rather than "NOT 2020 AND NOT 2019"!
See relationships.
How do I get the behavior intended on one two-line graph?
Thanks!
I agree with #teylyn, sometimes less is more.
The problem is how Power Bi works and how your measures are calculated. You have two averagex-measures, both pointing to same date table. In Power BI, two separate filters from a single dimension can't do "union", they are laid down on top of each other. You are telling that first I want to filter by 2019 November and after the filter has been evaluated, you tell that you want to filter 2020 January. Power BI adds new filter to already filtered dataset, but the dataset doesn't contain anything that match both filters, so the end result is empty.
One way to get around this problem is to create separate date-tables for filtering purposes for blue and green. Here is an example of the data model needed:
Then you update the date-filters in second tab. Set blue date filter to one date-dimension and green date filter to another. This way they aren't filtering the same table and the graph should work the same as before.
I am very new to Power BI. I have connected mysql database to get data. Am doing search in one filter , based on the searched customer, it will show up the data in table visual.
But, i stuck to show only the latest date data of a category.
If you see in the above image, there are two initial proposal rows. But, i need only one row of initial proposal category which can be differentiate by the date modified column.
to be more clear --> category Id and date_modified are from table1 and inserted_prefix from table two.
now, in the below image. I selected different customer. he had, 3 initial proposal and 5 initial design. So i need only one initial deign and initial proposal which is latest date.
Please suggest me how can i get only the latest data of each category by using measure or any other way.
Thanks a ton in advance.
I got my requirement.
Just a small tweek in data selections. just make sure to have date modified with Latest. insert_prefix select last as showin in below images.
I'd like to slice across visuals based on dates in MS Power BI (i.e., one filter for say month will slice all visuals for that time period.
I created a date table from http://www.agilebi.com.au/power-bi-date-dimension/ to link to the date columns in each table.
I connected xlsx workbook.
Image of columns in Power BI
I added tried to edit the relationship so connect the 2 date columns. However, when I insert the filter using the date_table as values and try to use it, the visuals disappear.
Visuals are Gone
However, when I create the slicer and slice across multiple visuals, they go blank.
**I tried changing the type to "Both" but it didn't fix the problem.
The script at AgileBI.com.au creates a date table with a 'Date' field that has a data type of text. You can (surprisingly) do a relationship between 2 fields of different data types and not get an error. However, a join between a text field that contains dates, and a regular date field will mean that rows that look like they should match up do not.
You can confirm this is happening by picking a value in the 2 tables that you think should match up and seeing if they are identical. In my case, I had Tuesday, November 01, 2016 in my imported table, and 11/1/2016 in the other table. While they both represent the same date (in the US), they clearly look different. A good place to see this is in the Edit Relationship screen (and it definitely would have been helpful to include a screenshot of that in your original post).
Anyway, if the dates in your table don't match up to the corresponding (text) dates in the Date table, then when you filter to "2016" on your slicer, the visuals will all go blank.
I would recommend:
Click Edit Queries
On the left hand side, select the table of dates (called Invoked Function by the script)
Click on the header for the Date column (it will likely already be selected)
Select Transform on the ribbon
Change the Data Type from Any to Date
Click Home > Close & Apply
Hope this helps.
Is it possible to create a slider in PowerBI just like we create a slider in EXCEL.If possible can someone point me to some basic tutorials for that or may e an example would really help a lot.
I think OP is referring to a slider in the context of having a slicer with variable values that can be adjusted by dragging a button of some type along a bar with beginning and ending values, such as a date. Power BI added a date slider in a recent update which is accessed by choosing the slicer visual in your screenshot and selecting a date field from the query. There is also a custom visual which allows granularity from year to quarter to month to week to day. The beginning of the fiscal year can be customized in the formatting options, so it's pretty useful if one is using Power BI in a business setting.
Unfortunately there doesn't seem to be any other type of slider available which allows the use of fields other than ones which contain date values. Even when the field is a date/time value, neither of the sliders have the ability to show hours/minutes/seconds. I was searching for one I could use with time or even on an index column when I saw this question and haven't had much luck.