March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
There is a column with FY i.e. "FY19","FY18","FY17" etc.
I Created a measure which calculates the current FY:
CurrFY = CONCATENATE("FY",IF(MONTH(TODAY()) <=3, VALUE(FORMAT(TODAY(),"YY")), VALUE(FORMAT(TODAY(),"YY")) +1))
e.g. output: "FY19"
Now i need to filter the report based on the FY column using the current FY i get from the CurrFY measure.
How do i do it?
Thanks
Solved! Go to Solution.
Hi @v-cherch-msft, Your solution somehow didn't work as a measure but works fine as a calculated column.
Created the calculated column as below:
FYFilter = IF(pipeline_summary_log_copy[FY] = [CurrFY], 1, 0)
Then i added it to the report level filter.
Thanks
Hi @Anonymous
You may create a measure as below and use it in visual level filter.
Measure = IF(MAX(Table1[FY])=[CurrFY],1)
Regards,
Cherie
Hi @v-cherch-msft, Your solution somehow didn't work as a measure but works fine as a calculated column.
Created the calculated column as below:
FYFilter = IF(pipeline_summary_log_copy[FY] = [CurrFY], 1, 0)
Then i added it to the report level filter.
Thanks
@Anonymous could you show an example with the data of what you expect, hard to visualise what you saying.
Proud to be a Super User!
User | Count |
---|---|
120 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |