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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Solution Sage
Solution Sage

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

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