We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi All,
I am confused why there is variance between these two approach. To count the member where conditions are:
a. status = closed or resolved
b. date is Yesterday
I created measure closed:
@schoden , Try like
CLosed =
CALCULATE(DISTINCTCOUNT(table[member]),filter(table, (table[status]="Closed" || table[status]= "Resolved") && table[Date_Entered_UTC]= TODAY()-1 )
)
@amitchandak Thanks for your response.
yes I did it that way also . It gives same result - with and without FILTER
Hi @schoden u need and if, in order to give a specific behavior with and without filter, try with this
hi @schoden You need something like this, in order to have the correct calculate.
Whit variables is easier and clear.
mesuare =
VAR lastday = PREVIOUSDAY('Table'[Date])
var calculat = CALCULATE(SUM('Table'[value]), 'Table'[Date] = lastday)
return calculat
I leave you the .pbix here https://1drv.ms/u/s!AtEkAF7ffIsqg8RU_Q8H3f_rdntrBA?e=b8fdVl
@Anonymous Hi
Thanks for sharing the file. Previousday function takes back one day earlier any Day a user chooses in the date slicer.
But I want to set the date to YESTERDAY , user dont have to choose the date in slicer. It is set to YESTERDAY automatically so when day goes , automatically it shows a day before today.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 54 | |
| 39 | |
| 32 | |
| 17 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 37 | |
| 36 | |
| 22 |