dates range
2 Topicscompare data sets based on dates
Hello All, I am new to power bi and I have to build few metrics based on below sample data set. I have two give two date filters baseline and comparison and have to display a flag or highlight of the value for the column like status or Priority is changed between those dates. Suppose I select 30 Oct in base line slicer and 23 Oct in Comparison slicer a) I have to create vizulization to highlight/flag the columns that have changed. b) Count of newly added records also details c) count of deleted records and details d) count of changed records ( one of the column value is changed) and details Please help and suggest better implementation for above scenarios. runid Id Status Priority 30102023 ENG-666 Monitoring P1 30102023 ENG-111 Monitoring P1 30102023 ENG-122 Monitoring P3 30102023 ENG-333 Monitoring P3 30102023 ENG-555 Teminated P4 25102023 ENG-555 Teminated P4 25102023 ENG-111 Monitoring P1 25102023 ENG-122 Monitoring P2 25102023 ENG-333 Monitoring P3 25102023 ENG-666 Monitoring P4 20102023 ENG-111 Monitoring P1 20102023 ENG-122 Monitoring P2 20102023 ENG-333 Monitoring P3 20102023 ENG-555 Teminated P4 20102023 ENG-666 Monitoring P4 15102023 ENG-111 Monitoring P1 15102023 ENG-122 Monitoring P2 15102023 ENG-333 Monitoring P3 15102023 ENG-444 Monitoring P4 15102023 ENG-555 Monitoring P4Solved830Views0likes2CommentsHow to define Date Range for Parameters in Report Builder
Hi, I have a request to have a date range filter based on submission date in a paginated report, I am able to create the date range and it's working, however the report has only 3 years worth of data and the date range showed in filters displays all possible dates from 1800s, so users can select older dates although there's no data for those dates. I am trying to limit the date range filter to the relative dates in the dataset but I can't figure a way to do that. My paginated report is connected to a PBI dataset so I am using dax. This is my query ----------------------------------- DEFINE MPARAMETER s_start_dt = FORMAT(@s_start_dt, "MM/dd/yyyy") MPARAMETER s_end_dt = FORMAT(@s_end_dt, "MM/dd/yyyy") VAR __Table1 = SUMMARIZECOLUMNS( Query1[Category], Query1[Aggregate Underwriting Comp], Query1[violation_id_link], FILTER(VALUES(Query1[sbmsn_dt]),Query1[sbmsn_dt]>= @s_start_dt && Query1[sbmsn_dt]<= @s_end_dt) ) EVALUATE __Table1 ORDER BY Query1[sbmsn_dt] desc -------------------------------------------------- the parameters are defined as Date/Time with no available values nor default values Below is a screenshot of how I see the date rnage right now, any help would be appreciated! I have also tried the usual way where I add a calendar data source with relative dates (min and max based on my dataset), but this displays 2 boxes in the report for "From" and "To" Dates with dropdown to choose the date (like a dropdown text) which is not very intuitive2.9KViews0likes0Comments