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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
MidnaJazz08
Frequent Visitor

Data segmentation default / Segmentación de datos por default

Hi Firends!

 

Please I need your help, I would like to know how I can show the data of the current month in my data segmentation. These currently show all the information from my dimension tables.

 

*****************************

Hola amigos!

 

Por favor necesito su ayuda, me gustaría saber cómo puedo mostrar en mi segmentación de datos los datos del mes en curso. Actualmente, estos muestran toda la información de mis tablas de dimensiones.

 

MidnaJazz08_0-1636511393100.png

 

1 ACCEPTED SOLUTION

Hi @MidnaJazz08 ,

Still not certain what is your expected output and the table structure look like.

Based on the measure, seems like there is a date table and a source table in the report, suppose there is a date column in the source table but without relationship.

 

You can try to use this measure to filter the visual:

Visual = 
IF(
    SELECTEDVALUE('Date'[Date].[MonthNo]) = MONTH( MAX('Table'[Date])) &&
    SELECTEDVALUE('Date'[Date].[Year]) = YEAR(MAX('Table'[Date])),1
)

vyingjl_0-1636700039102.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@MidnaJazz08 ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Appreciate your Kudos.

 

In case you are looking for

 

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Sure!

 

I have October customers A, B, C, but in my dimension I have A, B, C, ...., Z customers, when I use the data segmentation this shows all customers in my dimension not only of customers of October how should it be. I did a default measures like number of ticket of month:

Mes default (NumTick) = IF(
    NOT(ISFILTERED('Tabla Calendario'[Date].[Mes])),
    CALCULATE(COUNT(Consolidados[Ticket#]),FILTER('Tabla Calendario','Tabla Calendario'[Offset de mes actual]=-1)),
    COUNT(Consolidados[Ticket#]))

 

Hi @MidnaJazz08 ,

Still not certain what is your expected output and the table structure look like.

Based on the measure, seems like there is a date table and a source table in the report, suppose there is a date column in the source table but without relationship.

 

You can try to use this measure to filter the visual:

Visual = 
IF(
    SELECTEDVALUE('Date'[Date].[MonthNo]) = MONTH( MAX('Table'[Date])) &&
    SELECTEDVALUE('Date'[Date].[Year]) = YEAR(MAX('Table'[Date])),1
)

vyingjl_0-1636700039102.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors