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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
trungduc5900
Frequent Visitor

Auto generate column when meet a condition

 Hi there, 

 

I'm very new to the Power BI. 

 

Currently, I have a data set that content 2 column "Begin date" and "End date". I want to create multiple column which count number of date each month from "Begin date" to "End date", example as bUntitled.pngelow:

 

 

 

 

Thank you in advance for your help.

 

 

4 REPLIES 4
v-yuta-msft
Community Support
Community Support

Hi trungduc5900,

 

Are there other columns like values in your table? And are there seperate values in each month in your table? Can you create a sample table with some dummy data for further analysis?

 

Regards,

Jimmy Tao

Hi Jimmy,

 

Many thanks for your reply 

 

Basiccally, i was trying to allocate Contract value by month based on contract's duation. So i have a table with the following detail:

1. Customer name

2. Contract value

3. Contract begin date 

4. Contract end date.

 

The sample table would look like this 

Untitled.png

 

 

 

Hi,

 

Please see if my solution here helps - Distribute projected revenue annually.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi trungduc5900 ,

 

Could you clarify your logic about how to achieve allocate Contract value by month?

 

Regards,

Jimmy Tao

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors