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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Radhika123
Helper I
Helper I

Get the repeating names monthly

Hi ,
I have training names column and date column. I need to know which training is repeating monthly.(for example if the power BI training is conducted in both march and april , then i need to get power BI as result ).please help me achieving this.
Thanks in Advance,

Radhika.

9 REPLIES 9
ryan_mayu
Super User
Super User

could you pls provide some sample data and expected output?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thanks for the reply @ryan_mayu 
Sure, the data is like,
Training Name   Month    Attendee
Power BI             March    John         
Power BI             March    William    
power BI             April       Jack         
Power Apps        March     Jack
Power Apps        March       henry


Result will be like 
Month  Training Name  Result
March    Power BI            2
April       Power BI            2
March     Power Apps       1

As the power Bi repeated in both march and april , it should be 2 and the power apps is in only one month so it should be 1 

you can create a measure

Measure = CALCULATE(DISTINCTCOUNT('Table'[Month]),ALLEXCEPT('Table','Table'[Training Name]))
 
11.PNG




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thanks @ryan_mayu for the reply
but I apply the same , I'm getting all the months upto december but my data is upto may only and the measure is showing 12 for all  the trainings.Please check the snap shots below .please clarify why I am getting like this 

Radhika123_0-1718089973642.png

And the measure I have given is same like as you have given 

Radhika123_3-1718090025431.png

 

is the month column from the date table or fact table?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu 
it's from fact table only.

maybe you can try to distinctcount (month), not the date to see if this can show the correct output





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu , Thanks
Got the answer but still showing the all months as it's filtering only two 
please check the snap shot 

Radhika123_0-1718095484641.png

 



 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.