The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi Guys,
I have a requirement where I want to display Month Column as Blank when the slicer selection is "YTD", "QTD", but show months as it is when other values in the slicer are selected. I am looking for a Dax command to achieve this. The Goal here is to get summarized value when "YTD", "QTD" is selected making the month columns blank, and showing them again when other slicer values are selected.
Something this way, but it is not working.
Any help would be highly appreciated.
Thanks in advance
@Anonymous , You have to create a measure like
Date-MMM = IF(SELECTEDVALUE('Measures Table'[Measure Select]) in {"YTD","QTD"} ,"",FORMAT(max(FRD_MR[Fiscal Date]),"MMM-YY"))
or
Date-MMM = IF(SELECTEDVALUE('Measures Table'[Measure Select]) in {"YTD","QTD"} ,blank(),FORMAT(max(FRD_MR[Fiscal Date]),"MMM-YY"))
New column will not work as column can not take selected value
Thanks @amitchandak ,
It is working, but the challenge here is I want to add this measure in the Rows Section of a Matrix. Unfortunately, It is not letting me add the new measure in the rows section. Sorry I didn't mention it earlier.
Thank You
an empty string "" is not the same as BLANK(). Please provide sample data in usable format and show the expected outcome.
Hi @lbendlin ,
Below is a sample scenario how I want the interaction to be:
I need help in writing a DAX for Column Month: Which will dynamically change values based on the slicer selection. Basically the values of Month Column should change to Blank() or "". But it is not picking values from the slicer selection with the Dax that I am using.
Thanks
User | Count |
---|---|
24 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
29 | |
11 | |
11 | |
9 | |
9 |