slicer visualizations
14 TopicsIs it possible to use a visualization/slicer, that edits a DAX formula in the Data tab?
Hello, I want to use a slicer in the Reports tab that would allow a user to change a varible that would subsequently change a column formula created in the Data tab. For Example, the below image shows a date slider (let's call this date variable "SlicerDate"). This would be a visualization in the reports tab that any user can interact with. I want to create an IF statement in the Data tab that states, IF(X<SlicerDate, "Earlier", IF(X>SlicerDate, "Later")). Although the actual column formula in the Data tab would not change, the "SlicerDate" within the formula would change according to the date applied to the slicer. The reason for this is there are many people who will view this report themselves and would like to adust the returned variables based on a specific date, but not all people will know how to change data portion of the PBIX file or online file. I want users to be able to change the variable returned in the Data tab without leaving the Reports tab. Any assistance or suggestion is greatly appreciated. Thank you!683Views0likes2CommentsCustomising slicer with internal subheading. Is it possible?
Howdy all, I'm playing around with page navigation via a slicer and 'Go' button. The pages in my report can be broadly categorised into one of four groups, so I'd like to group these pages together in the slicer under an appropriate heading. It's almost a hierarchical setup, as pictured below, except that one should not be able to select Group 1 (and hence all the contained items) as you can't go to multiple pages at the same time. I have an alternative setup with pop-up buttons, but I'm just exploring other options.Solved599Views0likes2CommentsHyperlink multiple slicers to a link
Dear Team, I have a test link https://powerbi.com/reports/powerbi/Production/testData_abcd and a slicer called "Region" with data: DE, IN, US,... Requirement: if users select a Region option then that value will be added as a tail in the link above. I already found a way with IF formulas: a) RegionSelected = IF(ISFILTERED(Sheet1[Region]),SELECTEDVALUE(Sheet1[Region]),"Select all") b) Formula1= IF([RegionSelected]="Select all","https://powerbi.com/reports/powerbi/Production/testData_abcd","https://powerbi.com/reports/powerbi/Production/testData_abcd?filter=Sheet1/Region eq '"&[RegionSelected]&"'") it meets the request, BUT if we have multiple slicers then I have to create another IF for each slicer and combine all of them in the DAX. It look too lengthy and unprofessional... For example: I have one more slicer called "Component". Another IF have been created as following: c) ComponentSelected = IF(ISFILTERED(Sheet1[Component]),SELECTEDVALUE(Sheet1[Component]),"Select all") d) Formula2 = IF([Formula1]="https://powerbi.com/reports/powerbi/Production/testData_abcd", IF([ComponentSelected]="Select all", [Formula1],[Formula1]&" and Sheet1/Component eq '"&[ComponentSelected]&"'") Question: Do we have another way to sync slicer with a link? Or another concise formula that can solve this problem? Could you please check and support? Thank you.Solved1.6KViews0likes2CommentsCount status values based on slicer selected dates duration
Hi Folks, I have a fact table which contains Laptop software installation details like below (attached sample copy), I'm trying to create a DAX expression that will enable me to return data when a Laptop software installation status is in between a selected date range. For example consider InstallationJob- 7989 and LaptopID-8973 Data from below table When i select a date range of 12/01/21 to 03/13/22 using a date slicer, It should be treated as failed Laptop and its count should be in Failed count, If i select slicer from 12/01/21 to 03/14/22, its count should be removed from Failed count and should be added in Installed Laptop as it is installed on 03/14/22 (this laptop no longer a failed laptop after installation done successfully but untill previous date it is a failed laptop). Please let me know if needed more information. note: I have to count them with combination of InstallationId and LaptopId because same laptop may come for software installation in different Installation Jobs (Like LaptopId-3876). The output should be like below as per slicer selection on image Deployed-5 Failed-2 (Installed laptops should be removed) SWError-1 Installed-3 It would be great if we can atleast count only recent record over InstallationId and LaptopId CombinationSolved950Views0likes3CommentsDate slicer not working (IF value exists on calendar date)
Hi everyone, i need help editing or creating a new measure that evaluates whether a value in on table exists at a particular date within the calender table . I am working with Two tables, on main table that has a customer and a purchase date. The second table is just a table showing the daily calendar dates. the outcome wanted is to evaluate whether a purchase was made by a customer at a certain date on the daily calender.(True,false). and also include their "purchase point" (person which they purchased from). biggest problem: I have implimented a measure to do the above, however when place the measure into a visualization, my date slicer seems to fail in slicing the visualization by date . the measure is as follows: measure = var _cust = MAX(purchase table[customer]) var _date = MAX('calendar table'[Date]) var _temp = CROSSJOIN(SELECTCOLUMNS({_cust},"cust",[Value]),SELECTCOLUMNS({_date},"dt",[Value])) var _date2 = CALCULATE(MAX(purchase table [purchse_date]),TREATAS(_temp,t1[customer], purchase table [purchse_date])) return IF(_date2=BLANK(),"false","true") the relatioinship: the tables are as shown below : The resulting visualization table : this is the table i show in the final visualisation the measure used in this resulting table is: Help needed If anyone could assist me with writing a measure that could make my requirements work so that my date slicer can work with my resulting table id really appreciate it suggestions are welcome:Solved843Views0likes2CommentsRolling 12 month with month slicer
Hi, So I would need to create a bar chart for last 12 months from selected month in slicer that has yyyymm values from month level calendar table. Fact table is also in month level with yyyymm time key. I have tried searching for solution and tried many things but did not manage to get this work so I would like to know if it is even possible to do this and if so how? We are using SSAS data model if that matters. I have previously worked with different reporting platforms but I'm relatively new to DAX and this is really giving me a headache. Would having calendar in date level help? Calendar and fact table have been joined with yyyymm key and I also have a secondary calendar table that is also in month level that has not been joined to any tables to be used with slicer for some visual needs. YYYYMM kpl 201901 5 201902 6 201903 7 201904 23 201905 46 201906 7 201907 43 201908 5 201909 45 201910 64 201911 2 201912 4 202001 3 202002 46 202003 43 202004 6 202005 45 202006 4 202007 54 202008 45 202009 45 202010 34 202011 34 202012 46 202101 35 202102 53 202103 34 202104 34 202105 46 202106 5 202107 34 202108 4 202109 54 202110 34 202111 34 202112 4 Here is sample of data, we have multiple rows per month by other key values but for making this work this sample should be enough? So if I selected 202110 from slicer I would get 12 months data with rolling 12 month sums. For example 202110 has sum of 202110 to 202009 and 202109 to 202008 and so on. Here is sample of data I would need to get for the bar chart. YYYYMM kplsum 202011 363 202012 405 202101 437 202102 444 202103 435 202104 463 202105 464 202106 465 202107 445 202108 404 202109 413 202110 492 Hopefully I was clear enough with my needs and the sample data is sufficient as well. Would highly appreciate any help with this problem.Solved4.7KViews0likes3CommentsSlicer Options depending on logged in User
Hi Everyone: I would like a Slicer that I have in one of my pages to expose (or not expose) products from the PRODUCTS Table based on the USER that is logged in from the Power BI service. So, for some USER, some subset of PRODUCTS should be exposed, and for some other USER another subset of PRODUCTS should be exposed. How do I do that? (NOTE: I think RLS won't work for me, because RLS will expose (or not expose) those same PRODCUTS from all other visualizations (other graphics, charts, etc) , that shouldn't be impacted by who is the USER. )Solved2.4KViews0likes2CommentsSlicer
Hi Power Bi Friends, As you can see, I have a slicer here showing the current financial year 2021 (from July 2020 to Jun 2021) with month to date chart. Question is, how can I show the past data (financial year 2021) if I select the next financial year 2022 slicer. For example, next month will be a new financial year (2022) and the data will be from July 2021 to Jun 2022), so if I select the 2022 slicer, I wanted to show the july 2021 data with previous financial year data for comparison. The end result would be from july 2020 to july 2021.Solved650Views0likes1Comment