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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
pgnilesh
Regular Visitor

Calculation Based on Values in PowerBI

Hi Team,

 

I am new to PowerBI and started learning it today only. I have a simple table like this. There are 6 tags appearing for the same date time. Requirement is I need to put some calculation say for example XYZ = 3505FT101F_CV + 35F1821F_CV. And this should be added for each time. I know there are somethings like adding new measure or calculated column but this is all based on columns. I need to perform this calculation based on value. Please suggest.

 

Tag_DateTag_NameTag_Value
4/9/18 9:00 AM3505FT101F_CV136.624876
4/9/18 9:00 AM35F1821F_CV5.29965
4/9/18 9:00 AM35FI14501F_CV119.59756
4/9/18 9:00 AM99PESWFF_CV0.008763643
4/9/18 9:00 AM99DEGRHPF_CV0
4/9/18 9:00 AM35W11_IHPSTEAMF_CV9.988991792
4/9/18 10:00 AM35FI14501F_CV119.2965316
4/9/18 10:00 AM3505FT101F_CV136.6248037
4/9/18 10:00 AM35W11_IHPSTEAMF_CV10.01061661
4/9/18 10:00 AM99PESWFF_CV0.009128429
4/9/18 10:00 AM99DEGRHPF_CV0
4/9/18 10:00 AM35F1821F_CV5.3100361
4/9/18 11:00 AM35W11_IHPSTEAMF_CV10.00146312
4/9/18 11:00 AM3505FT101F_CV139.1520708
4/9/18 11:00 AM35FI14501F_CV122.0044979

 

Thanks,

Nilesh

3 REPLIES 3
vanessafvg
Super User
Super User

@pgnilesh

 

not quite sure what you asking do you want to hard code the tag value in the calculation or do you want to aggregate all the values for the same tag?





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Hi Vanessafvg, @vanessafvg

 

Thank you for your reply. What I need to do is really add 1 more record say XYZ for each Tag_Record_Date_Time which is a calculation like XYZ = 3505FT101F_CV + 35F1821F_CV. I think we can add a measure. But Measures are based on column is what I have understood. Then I can use Matrix Visualization to show All Tags as column which will have existing tags as shown in the table + the calculated tags. And Rows will be time.

 

Thanks,

Nilesh

@vanessafvg,

 

Just to explain more clearly, want to convert the table mentioned in my 1st post to this:

Tag_DateTag_NameTag_Value
4/9/2018 9:003505FT101F_CV136.624876
4/9/2018 9:0035F1821F_CV5.29965
4/9/2018 9:0035FI14501F_CV119.59756
4/9/2018 9:0099PESWFF_CV0.008763643
4/9/2018 9:0099DEGRHPF_CV0
4/9/2018 9:0035W11_IHPSTEAMF_CV9.988991792
4/9/2018 9:00XYZ (Calculation 1)3505FT101F_CV + 35F1821F_CV
4/9/2018 10:0035FI14501F_CV119.2965316
4/9/2018 10:003505FT101F_CV136.6248037
4/9/2018 10:0035W11_IHPSTEAMF_CV10.01061661
4/9/2018 10:0099PESWFF_CV0.009128429
4/9/2018 10:0099DEGRHPF_CV0
4/9/2018 10:0035F1821F_CV5.3100361
4/9/2018 10:00XYZ (Calculation 1)3505FT101F_CV + 35F1821F_CV
4/9/2018 11:0035W11_IHPSTEAMF_CV10.00146312
4/9/2018 11:003505FT101F_CV139.1520708
4/9/2018 11:0035FI14501F_CV122.0044979

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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