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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
amgelain
Regular Visitor

Add fixed value to variable values

Hello,

 

I need to add the fixed values per company to the variable values per company.

 

Thank you in advance for your help.

 

@amgelain image.jpg

1 ACCEPTED SOLUTION
Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1698082990812.png

 

Jihwan_Kim_1-1698083090600.png

 

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


View solution in original post

5 REPLIES 5
Jihwan_Kim
Super User
Super User

Hi,

I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.

Please check the below picture and the attached pbix file.

 

Jihwan_Kim_0-1698082990812.png

 

Jihwan_Kim_1-1698083090600.png

 

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Hello,

I applied RELATED, made the relationships between the tables, however it is generating a value that is very different from what it should be. Would there be any other adjustments to the formula?

Thanks.

 
Total de Admissões = SUMX(FILTER(AdmDem, AdmDem[Tipo] = "Admissões"), AdmDem[Quantidade]+RELATED(Saldos[Quantidade]))

example.jpg

relationship.jpg

Hi,

Thank you for your message.

I am not sure what is your expected outcome, and how the fact table looks like, but I guess the definition of fixed number granularity is monthly level? 

If the fact table shows daily granularity, but the definition of fixed number is monthly level, then the formula need to be written in a different way.

Thank you.

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Go to My LinkedIn Page


Hello,

Your help was very important in clarifying my doubt. I made a small adjustment to the table relationships and it worked.

Thank you very much @Jihwan_Kim 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors