Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

New column creation

Hello,

 

I´m trying to create a new column (Flag) that show the values 0 or 1.

The value of this column should be 1 if there are one or more rows with Managed > 0 for the same Country on the last 10 days.

 

For example:

Managed.PNG

 

 
 

Thanks for your help!

1 REPLY 1
Anonymous
Not applicable

In sql a posible solution is the following pseudocode but I need to do it in DAX.

 

Pseudocode.PNG

 

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.