cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Parul_verma
Frequent Visitor

Getting same value for each week/month

Hello, I have one measure with no error but showing only one value for all the weeks. Here is the DAX code and the output for reference.

 

 

 

first_timers = CALCULATE(
COUNT('Survey data'[First Time]),'Survey data'[First Time] = "yes")

 

 

 

 

Parul_verma_0-1668530319640.png

 

4 REPLIES 4
v-xiaotang
Community Support
Community Support

Hi @Parul_verma 

Thanks for reaching out to us.

I just want to confirm if you resolved this issue? If yes, you can accept the answer helpful as the solution or share you method and accept it as solution, thanks for your contribution to improve Power BI.

If you need more help, please let me know.

 

Best Regards,

Community Support Team _Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

PabloDeheza
Super User
Super User

Hi @Parul_verma !
Is there a relationship between 'Survey Data' table and the table where you are taking the weeks/months field? If not, you should create one in order for your measure to be filtered by the given field.
Let me know if that helps!

Hi @PabloDeheza there is already a relationship between both the table

 

Whats the field you are using on the x-axis?

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors