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.
in my monthwise ipad usage trend report currently not showing the blank values. i want to dispaly the blanks as zero. So i created the below measure , applied the page level filter order date after 2019 and mm/yy column coming from our date master table. but it's giving unexpected result from 2017. it should display only from 2019/01
Solved! Go to Solution.
@rveerasamy , Try like
Assumed slicer on date of date tbale
measure =
var _mes =CALCULATE(DISTINCTCOUNT(Sales[Order Id]),Sales[IPAD_ORDER]="IPAD")+0
var _min = minx(allselected(Date), Date[Date])
var _max = maxx(allselected(Date), Date[Date])
return
if(max(Date[Date]) >=_min && max(Date[Date]) <=_max, _mes, blank())
@rveerasamy , Try like
Assumed slicer on date of date tbale
measure =
var _mes =CALCULATE(DISTINCTCOUNT(Sales[Order Id]),Sales[IPAD_ORDER]="IPAD")+0
var _min = minx(allselected(Date), Date[Date])
var _max = maxx(allselected(Date), Date[Date])
return
if(max(Date[Date]) >=_min && max(Date[Date]) <=_max, _mes, blank())
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
45 |