Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi Folks,
I am working on creating a conditional column like the below:
Condition | Values in new column |
contract to expire in 15 days from the current date | - 15 days |
contract to expire in 30 days from the current date | - 30 days |
contract to expire in 60 days from the current date | - 60 days |
contract to expire in 90 days from the current date | - 90 days |
I want the new column to be used as a filter/slicer in my report. My desired slicer outcome is
But what I get is:
Can anyone please help me here?
The logic used by me- if [expiry days]>0 and [expiry days]<60 then 60 days
if [expiry days]>0 and [expiry days]<90 then 90 days
Solved! Go to Solution.
Hello @Anonymous ,
You can achieve the desired result by separately creating column with each of this condition.
Please find my attached pbix file here pbix file
Hello @Anonymous ,
try using with: if [expiry days]>0 and [expiry days]<90 then 90 days
if [expiry days]>0 and [expiry days]<60 then 60 days
Thanks but this does not help
Hello @Anonymous ,
You can achieve the desired result by separately creating column with each of this condition.
Please find my attached pbix file here pbix file
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.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 39 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |