Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Experts,
Greetings!
I need your help to write a DAX/Solution basis of below condition.
I have a data table which has Account_Number column. Lets suppose Account_Number column has values 1,2,3,4,......10. Now I have to give a slicer (Allocated | Deallocated) on the report - If I select Allocated from slicer then show all 10 records. If I select Deallocated from slicer then show only records 1,2,3,4,5,6 only. I want to exclude 7,8,9,10. How can I achieve this ?
Solved! Go to Solution.
Hi @bhuprakashs ,
You could create an allocationstatus column and set it to the appropriate value depending on Account_Number. Then use that allocationstatus field in the slicer.
You can add a column that designates which records are Deallocated. If not deallocated, have them be allocated. Then in the report, if someone selects nothing they see all the records. If they select deallocated they only see those records. If they select allocated they will only see those.
Proud to be a Super User! | |
I have created below measure to identify Allocation or Deallocation.
Hi @bhuprakashs ,
You could create an allocationstatus column and set it to the appropriate value depending on Account_Number. Then use that allocationstatus field in the slicer.
User | Count |
---|---|
77 | |
75 | |
46 | |
31 | |
28 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |